Updated toderp

This commit is contained in:
Max Lynch
2013-10-08 18:16:07 -05:00
parent a175b9ce71
commit 7693f64787
4 changed files with 203 additions and 192 deletions

View File

@ -188,8 +188,11 @@ angular.module('ionic.todo.controllers', ['ionic.todo'])
});
})
.controller('SettingsCtrl', function($scope) {
.controller('SettingsCtrl', function($scope, AuthService) {
$scope.close = function() {
$scope.modal.hide();
}
$scope.logout = function() {
AuthService.logout();
};
})