I am trying to parse json
file and want to display on view. I am able to display data on console but I am not able to display on view .I am using ng-repeat. But, it is not working.
Also, I tried $scope.$apply but it gives error and digest cycle already running but data is not display, why?
Below is my plunker Link:
http://plnkr.co/edit/uyyhxex5gubzTJSZipV0?p=preview
HelloWorldService.doWork().then(function(data){
console.log("data received to Ctrl");
$scope.data=data.employees;
$scope.hide();
// $scope.$apply();
})