I want to add code to a function that is inside of ui-grid. I do not want to edit the existing code. How can I add code to an existing function, in angular, that does not edit the original code?
I tried using the concept from Adding code to a javascript function programmatically but I couldn't get it working.