moved from jquery http to angular.js' $http call.