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

10 lines
277 B
JavaScript

define([
'app',
'services/identities'
], function(app) {
app.registerController('IdentitiesCtrl', ['$scope', '$state', 'identities', function($scope, $state, identities) {
identities.getIdentities(function () {
$scope.identities = identities.identities;
});
}]);
});