Hi Neil,

ui-router doesn't have anything to do with REST (or HTTP really), so you
won't find any info about it in those docs.

$resource is the baked-into Angular way of doing REST-ful calls, and
Restangular is a quite popular third-party library for implementing REST.




On Wed, Apr 16, 2014 at 9:21 AM, Neil Camara <[email protected]> wrote:

> Hi folks,
>
> I now need to start working on the code that will make a call to our REST
> endpoint. This morning, I read https://github.com/angular-ui/ui-router. I
> didn't see any mention about REST. I continued searching and found two
> solutions, using
>
> $resource -
> http://fdietz.github.io/recipes-with-angular-js/backend-integration-with-ruby-on-rails/consuming-rest-apis.html
> Restangular - https://github.com/mgonto/restangular
>
> Now, I'm worried that I might bloat my application if ui-router can also
> be used for consuming REST api.
>
> I really want to make the application I'm building really neat. I mean, I
> would like it to have the best implementation so that when other devs work
> on it, it will be easy to work on.
>
> Thanks,
>
> Neil
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to