A simple file sharing site with an easy to use API and online panel.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
327B

  1. angular.module('ApiCtrl', ['ApiSvc', 'AuthSvc']).controller('ApiController', ['$scope', 'ApiService', 'AuthService', function($scope, ApiService, AuthService) {
  2. $scope.getKeys = function() {
  3. ApiService.getAll(function(keys) {
  4. $scope.keys = keys;
  5. });
  6. console.log($scope.keys);
  7. };
  8. }]);