Please I have two questions , For huge applications, Angularjs , Is it a good solution in term of cpu usage?
What is wrong with my angular code?
var myapp = angular.module('myapp', []);
myapp.service('server', function (url){
this.get = function ($http){
return $http.get(url);
};
});
myapp.controller('myctrl' , function($scope,server){
setInterval(function(){
$scope.r= server.get('response.js');
},1000);
});