Initial commit

This commit is contained in:
Reynaldo Reyes
2016-02-29 00:49:18 -04:30
commit 90d22e3405
67 changed files with 4025 additions and 0 deletions

37
app/js/app.js Normal file
View File

@@ -0,0 +1,37 @@
(function (){
'user strict';
angular.module('app', [
'app.course',
'app.login',
'app.professor',
'app.reports',
'app.section',
'app.student',
'ngResource',
'ui.router'
])
.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/');
$stateProvider
.state('login', {
url: '/login',
views: {
content: {
templateUrl: 'login.html',
controller: 'loginCtrl',
controllerAs: 'vm'
}
}
})
})
.run(function ($rootScope) {
$rootScope.domainUrl = 'Localhost:3000';
});
})();