.factory('API', ['$resource', function($resource){
return $resource("api/product/id/:id", {id: '@id'});
}]);
I'm back from holidays, JWT support is on the way to master repo. Stay tuned, also because I have some experience with js frameworks but not with Angular. We may tune the code for JWT to make Angular integration easy. If a slice comes out detailing the integration process wouldn't hurt :-P