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

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -