I don't mean $resource
here.
- AngularJS
- Shaping up with Angular.js
- egghead.io Angular Lessions
- A Better Way to Learn AngularJS
- AngularJS-Learning
- angular-data + cumstom adapter for Rails: Looks neat. Server API integration and data store.
- angularjs-rails-resource
- $cacheFactory: Angular native but pretty low level. Just a key-value store. It is only for the current session. angular-cache is API-compatible with it but also supports local storage.
- Sharing Data, State and Models on AngularJS: Alternatives, Comparison and My Solution: Store data in controllers and share it with directives using scope and attribute.
- Modeling Data and State in Your AngularJS Application: Store data in services and get notified via $rootScope's events.
- Building a UI framework for a large scale application using AngularJS
- Building large apps with AngularJS
- Building Huuuuuge Apps with AngularJS
A talk by the author of angular-data.
- We need convention.
- Store data in Services. Expose them with Controllers.
- Organize files by feature.
- (?) Lazily load modules.
- (?) Understand $scope lifecycle and $watch.
- (?) Use $scope.$apply for 3rd party libs.
Angular's $http provides CSRF prevention mechanism, they call it as XSRF though. The machanisim utilizes cookie and HTTP header. We can customize the names of them.
- Best Practices for Building Angular.js Apps: Build Angular app with Gulp. ng-annotate allows us to uglify without the dependency annotations in our code.
- Quora: What are some time-saving tips every AngularJS user should know?
- FOUC prevention: ng-cloak for the whole app, ng-bind for each element or ng-include and ng-view
- Angular Best Practices - Pluralsight