Semaphore/public/js/controllers/credential/credentials.js
2014-08-25 11:35:49 +01:00

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;
});
}]);
});