fork download
  1. $http.get('data.json')
  2. .then(function success(response){
  3. $scope.status = response.data.Status;
  4. console.log($scope.status);
  5.  
  6. }, function errorCallback(response) {
  7. console.log("У нас проблемы со звонками");
  8. });
  9. }
  10. $interval(call, 2000);
  11. });
Runtime error #stdin #stdout #stderr 0.02s 9444KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.js:9:2 SyntaxError: syntax error:
prog.js:9:2 		}
prog.js:9:2 ................^