@@ -70,32 +70,38 @@ Now browse to the app at `http://localhost:8000/app/index.html`.
7070
7171## Directory Layout  
7272
73-     app/                --> all of the files to be used in production 
74-       css/              --> css files 
75-         app.css         --> default stylesheet 
76-       img/              --> image files 
77-       index.html        --> app layout file (the main html template file of the app) 
78-       index-async.html  --> just like index.html, but loads js files asynchronously 
79-       js/               --> javascript files 
80-         app.js          --> application 
81-         controllers.js  --> application controllers 
82-         directives.js   --> application directives 
83-         filters.js      --> custom angular filters 
84-         services.js     --> custom angular services 
85-       partials/             --> angular view partials (partial html templates) 
86-         partial1.html 
87-         partial2.html 
88- 
89-     test/               --> test config and source files 
73+     app/                    --> all of the files to be used in production 
74+       assets/               --> all static asset files 
75+         css/                --> css files 
76+           app.css           --> default stylesheet 
77+         img/                --> image files 
78+       components/           --> all app specific modules 
79+         directives/         --> application level directives 
80+           appVersion.js     --> custom directive that returns the current app version 
81+         filters/            --> application level filters 
82+           interpolate.js    --> custom interpolation filter 
83+         services/           --> application level services 
84+           appVersionService.js  --> custom service that returns the current app version 
85+         view1/              --> a custom module for this application 
86+           view1.html        --> the template rendered for this module 
87+           view1.js          --> the application logic for this module 
88+         view2/              --> a custom module for this application 
89+           view2.html        --> the template rendered for this module 
90+           view2.js          --> the application logic for this module 
91+       app.js                --> application 
92+       index.html            --> app layout file (the main html template file of the app) 
93+       index-async.html      --> just like index.html, but loads js files asynchronously 
94+     test/                   --> test config and source files 
9095      protractor-conf.js    --> config file for running e2e tests with Protractor 
9196      e2e/                  --> end-to-end specs 
9297        scenarios.js 
9398      karma.conf.js         --> config file for running unit tests with Karma 
9499      unit/                 --> unit level specs/tests 
95-         controllersSpec.js      --> specs for controllers 
96-         directivessSpec.js      --> specs for directives 
97-         filtersSpec.js          --> specs for filters 
98-         servicesSpec.js         --> specs for services 
100+         directivessSpec.js      --> specs for application level directives 
101+         filtersSpec.js          --> specs for application level filters 
102+         servicesSpec.js         --> specs for application level services 
103+         view1Spec.js            --> specs for the view1 module 
104+         view2Spec.js            --> specs for the view2 module 
99105
100106
101107## Testing  
0 commit comments