Connect an AngularJS app to the DreamFactory REST platform