AngularJS 1.2 and Beyond
Just watched the above one. AngularJS 1.2 has not been released yet, but it’s nice to know the coming features in a consolidated form.
ng-animation (around 5:00)
The following site has a nice example, and it seems like using the ng-animate and TweenMax library (the sliding animation on click item seems handled in appFocus directive in app.js, but couldn’t understand the behavior enough).
Angular-Resource and Promise (around 10:00)
Angular resource now supports promise (like Project.query().$promise), for easily handling the transition more seemless. It allows waiting for the resources to be loaded. Previously, there’re some complex treatments were required.
Some related topics are in the following stackoverflow articles.
- Delaying AngularJS route change until model loaded to prevent flicker
- Angular RouteProvider – resolve not passing object to controller
ng-swipe (around 30:00)
Swiping support with “ng-swipe-left” and “ng-swipe-right”. Getting more built-in features for standard actions, nice.
An example is,
End-to-End Testing with Protractor (around 50:00)
New framework for testing. As I previously failed to write Angular Scenario Runner with Karma (with unknown reason). I’ll be trying with this one lator.