Answer the question
In order to leave comments, you need to log in
What causes an error in AngularJS?
I think it's easier to show a screenshot than to give code examples here:
img.ctrlv.in/img/15/11/11/56432a9cdca91.png A
question along the way. If I link the main AngularJS library in app.js, should I include it in all other submodules?
Answer the question
In order to leave comments, you need to log in
Obviously, your file is called questions.js .
The first line is <script src="...
The interpreter tries to execute it and crashes.
Include scripts and libraries in html files, not in JS. In the case of Angular, forget about AMD, or consider switching to Dojo or Aurelia.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question