3 ms·
If you need to use multiple files (and let's be honest it's better that way), I recommend you try RequireJS. It's pretty simple, remove ng-app from your body,
by steeve 14y ago
If you need to use multiple files (and let's be honest it's better that way), I recommend you try RequireJS.
It's pretty simple, remove ng-app from your body, and add the following to you boot.js: https://gist.github.com/4600740 https://gist.github.com/4600740
Alternatively, if you need good boilerplates with multiple files and proper organization: https://github.com/elsom25/angular-requirejs-html5boilerplate-seed https://github.com/elsom25/angular-requirejs-html5boilerplat... and https://github.com/angular/angular-seed https://github.com/angular/angular-seed .