e2bd575ca7
-* waiting for merge to get API from server
17 lines
No EOL
588 B
JavaScript
17 lines
No EOL
588 B
JavaScript
angular.module('SeHub')
|
|
.controller('campusesController', ['$scope', '$cookies', '$cookieStore', '$window', '$location', '$mdToast', '$mdDialog', 'apiService', '$rootScope', function($scope, $cookies, $cookieStore, $window, $location, $mdToast, $mdDialog, apiService, $rootScope) {
|
|
|
|
|
|
|
|
|
|
$scope.campuses = ['Bezalel', 'Ben Gurion', 'Sami Shamoon', 'Afeka', 'Ivrit', 'Kaka', 'Opium'];
|
|
console.log($scope.campuses);
|
|
|
|
// apiService.getCampusesByUser(token).success(function(data) // Get all the campuses
|
|
// {
|
|
// $scope.campuses = data;
|
|
// }).error(function() {
|
|
// // TODO
|
|
// });
|
|
|
|
}]); |