Semaphore/public/js/controllers/identity/identity.js
2014-09-11 18:42:13 +01:00

11 lines
242 B
JavaScript

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