Template for AngularJS $http