public/js/services/rest.js
Function LoadRestListService
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function LoadRestListService(ResourceFactory, RestResource) {
/**
* the returned object will be the one used in controller
* to create the resource from url or create a new one