angularjs order of script files -
angularjs order of script files -
if recieve error one:
uncaught error: [$injector:nomod] module 'some module' not available! either misspelled module name or forgot load it. if registering module ensure specify dependencies sec argument.
it may due order of files in index.html. modules definition
angular.module('modulename', [])
should included before of modules
angular.module ('modulename').something
this result error, files still work. posting help of others may it. may occur if not specify files manually in index, leave automation tool (e.g. grunt) create during build phase. e.g. 1 done in https://github.com/ngbp/ngbp (which great, other means!)
angularjs
Comments
Post a Comment