- .state('user', {
- url: '/user',
- templateUrl: 'views/user.html',
- controller: 'UserCtrl',
- controllerAs: 'userCtrl'
- })
- .state('docdown', {
- url: '/docdown',
- templateUrl: 'views/docdown.html',
- controller: 'DocdownCtrl',
- controllerAs: 'docdownCtrl'
- })
- .state('grades', {
- url: '/grades',
- templateUrl: 'views/grades.html',
- controller: 'GradesCtrl',
- controllerAs: 'gradesCtrl'
- })
- .state('login', {
- url: '/login',
- controller : function(){
- window.location.replace('/login');
- },
- template : "<div></div>"
- })
- .state('logout', {
- controller : function(){
- window.location.replace('/logout');
- },
- template : "<div></div>"
- })