Created
January 10, 2016 13:33
-
-
Save aNd1coder/89901ec81d55226826e0 to your computer and use it in GitHub Desktop.
Angular application directory structure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app/ | |
----- shared/ // acts as reusable components or partials of our site | |
---------- sidebar/ | |
--------------- sidebarDirective.js | |
--------------- sidebarView.html | |
---------- article/ | |
--------------- articleDirective.js | |
--------------- articleView.html | |
----- components/ // each component is treated as a mini Angular app | |
---------- home/ | |
--------------- homeController.js | |
--------------- homeService.js | |
--------------- homeView.html | |
---------- blog/ | |
--------------- blogController.js | |
--------------- blogService.js | |
--------------- blogView.html | |
----- app.module.js | |
----- app.routes.js | |
assets/ | |
----- img/ // Images and icons for your app | |
----- css/ // All styles and style related files (SCSS or LESS files) | |
----- js/ // JavaScript files written for your app that are not for angular | |
----- libs/ // Third-party libraries such as jQuery, Moment, Underscore, etc. | |
index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment