Semaphore/public/js/controllers/identity/identities.js

10 lines
277 B
JavaScript
Raw Normal View History

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