Angular Resource + PUT Action decriptor using Typescript and generics
As far as I know angular-resource doesn't have the PUT action decriptor because not everyone use this HTTP verb for their CRUD operations. I wanted to use angular resource to create a CRUD Services with my RESTful webapi (which uses PUT), without coding a resource factory for every entity and I came up with this project.
Using typescript and generics we can achieve it. Have a look to crud-angular.resource.ts file of this repository and you will see.
I have used angular-mocks and a dataService for the backend. In order to give a little bit of life to the page I used angular-material.
You can see a running example here: