How to use path variable instead of request parameter with AngularJS $resource How to use path variable instead of request parameter with AngularJS $resource angularjs angularjs