Application which uses AngularJS to get data through REST API call