mirror of
https://github.com/Foltik/Shimapan
synced 2025-02-02 16:22:59 -05:00
10 lines
362 B
JavaScript
10 lines
362 B
JavaScript
var angular = require('angular');
|
|
|
|
angular.module('ApiCtrl', ['ApiSvc', 'AuthSvc']).controller('ApiController', ['$scope', 'ApiService', 'AuthService', function($scope, ApiService, AuthService) {
|
|
$scope.getKeys = function() {
|
|
ApiService.getAll(function(keys) {
|
|
$scope.keys = keys;
|
|
});
|
|
console.log($scope.keys);
|
|
};
|
|
}]); |