Semaphore/public/js/controllers/credential/credentials.js

10 lines
286 B
JavaScript
Raw Normal View History

2014-08-25 12:35:49 +02:00
define([
'app',
'services/credentials'
], function(app) {
app.registerController('CredentialsCtrl', ['$scope', '$state', 'credentials', function($scope, $state, credentials) {
credentials.getCredentials(function () {
$scope.credentials = credentials.credentials;
});
}]);
});