<!DOCTYPE html><html><script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script><script>
var app = angular.module('myApp', []);app.controller('myCtrl', function($scope, $http) { $http({ latitude:37.775818, longitude:-122.418028, headers: { Authorization:'token >>here goes the Server Token<<' } }).then(function(response) { $scope.uberresponse = response.data; });});</script>
<body>
<div ng-app="myApp" ng-controller="myCtrl">
<p>Uber response:</p><pre>{{uberresponse}}</pre>
</div>
</body></html>