5 ms·
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 cla
by s1kx 13y ago
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.
- arianvanp 13y agoCould you elaborate why it's the achilles' heel? I'm exploring AngularJS right now, and am interested in its pitfalls
- skore 13y agoThen you may be interested in checking out Restangular: https://github.com/mgonto/restangular https://github.com/mgonto/restangular
- dreame4 13y agoI'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.