gladiusmaximus

controller.js

Nov 20th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gradesApp.config(['$routeProvider', function($routeProvider) {
  2.     console.log('working');
  3.     $routeProvider.otherwise({
  4.         template: "wat"
  5.     });
  6. }]);
  7.  
  8. gradesApp.controller('MainCtrl', ['$scope', '$location',
  9.     function($scope, $location) {
  10.         $scope.test = 'test works';
  11.     }
  12. ]);
Advertisement
Add Comment
Please, Sign In to add comment