A simple example to use Angularjs and the search REST API in a SharePoint hosted app