Hey there, I have a factory below:
App.factory("myRepository", ['$resource', function($resource) {
return {
myRecord: $resource('api/inst/Getinst/:id,name', { last: '@id', name: '@name' }, { query: { method: 'GET' } })
};
}]);
I am facing an issue when trying to pass two parameters named id and name in the URL. It's not working as expected. Could you please guide me on how to successfully pass multiple parameters with the URL? Thank you!