- Single Responsibility -- one thing per file
- IIFE -- free from coffeescript
- Modules -- declare once, nest namespaces
- Controllers -- name your fns, use controllerAs, vm = this, public methods at top of file
- Services -- delegate all possible behavior to here for easier testing
- Factories -- api up top, use promises for data calls
- Data Services
- Directives
- Resolving Promises for a Controller
- Manual Annotating for Dependency Injection
- Minification and Annotation
- Exception Handling
- Naming
- Application Structure LIFT Principle
- Application Structure
- Modularity
- Startup Logic
- Angular $ Wrapper Services
- Testing
- Animations
- Comments
- JSHint
- JSCS
- Constants
- File Templates and Snippets
- Yeoman Generator
- Routing
- Task Automation
- Filters
- Angular Docs
- Contributing
- License
Last active
October 9, 2015 21:01
-
-
Save SimplGy/24ca903d7c5c56a3d215 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should look at whether naming the functions passed in when defining directives/controllers/services actually helps the debug/stack trace. CS doesn't have func declarations, and I'm not sure if named function variables have the same benefit.