Neil,
something I learned LONG AGO was to first remove the stress of messing up
an already functioning app to somehow add a functionality to it or what not.
WHEN IN DOUBT, make a save folder and save your entire Working version of it in
there, then feel LESS STRESSED to play around with the original. If you mess
it up and are not sure of all of the changes you made, then just delete it and
reload your saved working version back into play.
I know this is a very similar remedy you likely used, I just have to remind
myself of this from time to time and so perhaps you should also keep it in the
back of your head as a fear-conquering technique when you want to do what you
are, seemingly, worried about. Don’t worry buddy, I have been there many times
and saving the working version is SUCH a stress/worry relief.
Good Luck
Paul
From: Neil Camara
Sent: Wednesday, April 16, 2014 11:14 AM
To: [email protected]
Subject: [AngularJS] Re: Consuming REST api and my confusion
That means, I need to include both. UI-router for accessing interface neatly
and $resource/restangular for my REST calls.
Thanks a lot!
On Wednesday, April 16, 2014 8:21:26 AM UTC-5, Neil Camara 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.