My path for learning AngularJS
| development, geekI'd been meaning to learn AngularJS for a while, and rapidly prototyping a data-binding-heavy Javascript application was the perfect excuse. The phonecat tutorial on the AngularJS site was a little too heavy-weight for me, although it would probably have been useful for learning how to Do Things Right. Simpler, from-scratch tutorials like AngularJS in 30 minutes and ng-newsletter were a little more useful for me. After I got the hang of setting things up and using a controller, I browsed through the AngularJS documentation and looked for different modules as I needed them.
Here's the rough order I learned things in:
- Binding data with \{\{\}\}
- Retrieving data with $http (since I already had JSON handy from the NodeJS site I created)
- Iterating over data with ng-repeat
- Adding ng-click events
- Using ng-class
- Dependency injection
- Figuring out routing with ui-router
- Dividing things into multiple routers
- $interval and $timeout
- State change functions
- Resources (although I didn't end up really using these)
- Directives
I still have to learn about filters, nested views, testing, proper file organization, and all sorts of other goodness. But yeah, AngularJS feels pretty good for my brain… =) Yay!