mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-22 16:20:44 +01:00
10 lines
286 B
JavaScript
10 lines
286 B
JavaScript
define([
|
|
'app',
|
|
'services/credentials'
|
|
], function(app) {
|
|
app.registerController('CredentialsCtrl', ['$scope', '$state', 'credentials', function($scope, $state, credentials) {
|
|
credentials.getCredentials(function () {
|
|
$scope.credentials = credentials.credentials;
|
|
});
|
|
}]);
|
|
}); |