controller.js
.controller('FeedCtrl', function($scope, $http) {
var path = 'data/data.json';
var conditions = $http.get(path).then(function(resp) {
// $http.get('https://api.myjson.com/bins/147ny').then(function(resp) {
$scope.conditions = resp.data.employees ;
}, function(err) {
console.error('ERR', err);
// err.status will contain the status code
})
.controller('FeedDetailCtrl', function($scope, $stateParams ) {
$scope.condition = conditions.get($stateParams.feedId);
})
});
.controller('FeedCtrl', functio