Previously I was calling an ASP.NET Web API controller from an AngularJS controller using the $http service. $http.get(serviceUrl).success(function (data) { $scope.videos = data; }); With a little bit of work I can use a higher level of abstraction in Angular - a custom service based on $resource.
No comments:
Post a Comment