Moving routes to angular.js