The statement you included simply declares an Angular module which has a dependency on a dozen other modules. Angular does not handle the loading of scripts, it only facilitates the runtime dependency. It is up to you to ensure that all of the scripts which define the dependencies for your 'app' module are loaded before the Angular bootstrap process begins (usually when domReady fires).
On Tue, Jan 28, 2014 at 9:03 AM, Basit Qadeer <[email protected]>wrote: > I am new to AngularJs and just downloaded the sample application. But just > stucked on the first line :( > > angular.module('app', [ > 'ngRoute', > 'projectsinfo', > 'dashboard', > 'projects', > 'admin', > 'services.breadcrumbs', > 'services.i18nNotifications', > 'services.httpRequestTracker', > 'security', > 'directives.crud', > 'templates.app', > 'templates.common']); > > would like to ask how it actually works? or more specifically how this all > will be loaded. > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
