How do I override an endpoint provided by a module in a feature?
I found a smooth way to do this without overriding anything.


Create a new services endpoint by cloning the Drupalgap endpoint.
Add the new endpoint to a feature to keep it in code.
In Drupalgap's settings.js, change the endpoint to the new custom endpoint. The relevant line is:

// Default Services Endpoint Path

Drupal.settings.endpoint = 'drupalgap';