83577a7d5d
removed amber files. replacing with angular removed queue package in favor or worker package removed channel package in favor of pubsub package
14 lines
No EOL
328 B
JavaScript
14 lines
No EOL
328 B
JavaScript
'use strict';
|
|
|
|
angular.module('app').controller("UsersController", function($scope, $http, user) {
|
|
|
|
$scope.user = user;
|
|
|
|
$http({method: 'GET', url: '/v1/users'}).
|
|
success(function(data, status, headers, config) {
|
|
$scope.users = data;
|
|
}).
|
|
error(function(data, status, headers, config) {
|
|
console.log(data);
|
|
});
|
|
}); |