mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Updated toderp
This commit is contained in:
@ -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();
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user