1var myWebsite = angular.module("myWebsite", ['ui.router', 'ngAnimate', 'ngSanitize']); 2 3/* States configuration */ 4myWebsite.config(['$stateProvider', function ($stateProvider) { 5 6 var aboutMe = { 7 url: '/aboutMe', 8 templateUrl: 'views/AboutMe.html', 9 controller: 'aboutMeCtrl' 10 }, 11 /*research = { 12 url: '/research', 13 templateUrl: 'views/Research.html', 14 controller: 'researchCtrl' 15 },*/ 16 personal = { 17 url: '/personal', 18 templateUrl: 'views/Personal.html', 19 controller: 'personalCtrl' 20 }, 21 awards = { 22 url: '/awards', 23 templateUrl: 'views/Awards.html', 24 controller: 'awardsCtrl' 25 }; 26 /*team = { 27 url: '/team', 28 templateUrl: 'views/Team.html', 29 controller: 'teamCtrl' 30 };*/ 31 32 $stateProvider 33 .state('aboutMe', aboutMe) 34 //.state('research', research) 35 .state('personal', personal) 36 .state('awards', awards); 37 //.state('team', team); 38}]); 39 40/* Redirection configuration */ 41myWebsite.config(function($urlRouterProvider) { 42 $urlRouterProvider.when('', '/aboutMe'); 43});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.