Semaphore/public/js/controllers/user/user.js

10 lines
215 B
JavaScript
Raw Normal View History

2016-03-18 23:03:28 +01:00
define(function () {
app.registerController('UserCtrl', ['$scope', '$state', function($scope, $state) {
$scope.delete = function () {
$scope.user.delete();
$state.transitionTo('users.list');
}
}]);
});