Partial Updates (aka PATCH) using a $resource based service?

后端 未结 3 718
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 11:38

We\'re building a web application using Django/TastyPie as the back-end REST service provider, and building an AngularJS based front end, using lots of $resource based servi

3条回答
  •  没有蜡笔的小新
    2020-12-29 12:26

    I would suggest using Restangular over ngResource. The angular team keeps improving ngResource with every version, but Restangular still does a lot more, including allowing actions like PATCH that ngResource doesn't. Here'a a great SO question comparing the two What is the advantage of using Restangular over ngResource?

提交回复
热议问题