Various fixes

This commit is contained in:
Reynaldo Reyes
2016-05-20 23:00:34 -04:00
parent b220f21065
commit 48e8b73111
55 changed files with 714 additions and 690 deletions

View File

@@ -0,0 +1,17 @@
(function(){
'use strict';
angular
.module('app')
.controller('NavbarCtrl', NavbarCtrl)
NavbarCtrl.$inject = ['$scope', 'authentication', '$state'];
function NavbarCtrl($scope, authentication, $state) {
var vm = this;
vm.logout = function () {
authentication.logout();
$state.go('login');
};
};
})();