Working with XHR support
Transitioning to routes in angular.js