mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-25 23:12:15 +01:00
15 lines
273 B
JavaScript
15 lines
273 B
JavaScript
define([
|
|
'app'
|
|
], function(app) {
|
|
app.registerService('identities', function($http, $rootScope) {
|
|
var self = this;
|
|
|
|
self.getIdentities = function(cb) {
|
|
$http.get('/identities').success(function(data) {
|
|
self.identities = data;
|
|
|
|
cb();
|
|
});
|
|
}
|
|
});
|
|
}); |