News for hackers. Stuff that matters.
Re:Facebook’s New React JavaScript Library Tutorial Rewritte... by s1kx on Thursday May 30, 2013 @05:59AM (#5791650)
Theoretically yes, but ngResource is kind of the achilles' heel of AngularJS right now. You're often better off using a different library or making your own class with $http requests.
Re:Facebook’s New React JavaScript Library Tutorial Rewritte... by dreame4 on Thursday May 30, 2013 @07:18AM (#5791826)
I'm using AngularJS 1.1.5 and ngResource in my project and it works quite nice. I wouldn't discourage people from learning the hard way. However, +1 for Restangular.
Re:Facebook’s New React JavaScript Library Tutorial Rewritte... by arianvanp on Thursday May 30, 2013 @06:41AM (#5791736)
Could you elaborate why it's the achilles' heel? I'm exploring AngularJS right now, and am interested in its pitfalls
Re:Facebook’s New React JavaScript Library Tutorial Rewritte... by skore on Thursday May 30, 2013 @06:57AM (#5791772)
Then you may be interested in checking out Restangular: https://github.com/mgonto/restangular