P
P
proton-m2016-07-09 16:55:46
JavaScript
proton-m, 2016-07-09 16:55:46

How to connect multiple libraries to angularJS module?

Good afternoon, maybe a stupid question, although I didn’t find an answer to it on the Internet ...
Let’s say I have a simple module, a library is connected to it,
angular.module('app', ['ngAnimate'])
but I need to connect another one, it doesn’t work with a comma, it displays an error, what should I do? Thanks in advance for your reply

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Skrolea, 2016-07-09
@Skrolea

Same way
angular.module('app', ['ngAnimate','ngOther'])

P
proton-m, 2016-07-09
@proton-m

The question can be closed, thank you all for watching :)
Connected angular v. 1.3.15 It worked
with a comma, like this:
angular.module('app', ['ngAnimate', 'ngResource'])

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question