Adocmaster, adocdetail and ng table

No, you define this function in your Adocmaster.js file, which is under your control. The change I made will execute the normal functionality and THEN look for that function INSIDE your main module's javascript file.

Look at the documentation and you will see that the function I add as an example is INSIDE the Potentials.js.

Please let me know if it isn't clear and I will try to explain again.