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
359 B
JavaScript
14 lines
359 B
JavaScript
'use strict';
|
|
|
|
angular.module('app').controller("HomeController", function($scope, $http, user) {
|
|
|
|
$scope.user = user;
|
|
|
|
$http({method: 'GET', url: '/v1/user/feed'}).
|
|
success(function(data, status, headers, config) {
|
|
$scope.feed = (typeof data==='string')?[]:data;
|
|
}).
|
|
error(function(data, status, headers, config) {
|
|
console.log(data);
|
|
});
|
|
});
|