Created
February 9, 2015 18:41
-
-
Save spencercarnage/2622c7ec62d9607527f3 to your computer and use it in GitHub Desktop.
This file contains 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
// Example pulled from https://scotch.io/tutorials/angularjs-best-practices-directory-structure | |
/* | |
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 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment