Semaphore/public/js/controllers/identity/identity.js
Matej Kramny 0f180756ab Auth page
- Restructuring & co
2016-03-18 22:03:28 +00:00

9 lines
228 B
JavaScript

define(function () {
app.registerController('IdentityCtrl', ['$scope', '$state', function($scope, $state) {
$scope.delete = function () {
$scope.identity.delete();
$state.transitionTo('credentials.list');
}
}]);
});