Incorporating the angular-bootstrap library into my app via bower has been a game changer.
Although I am currently stuck with an (outdated) version that includes a pesky bug, upgrading is not yet feasible in my scenario.
I considered inserting a customized js file below the bower import lines in my index.html
but ran into compilation errors.
I've pinpointed the exact location of the bug in the .js file of the library ui-bootstrap.js
, but making direct changes there isn't viable as my automated building system would override them.
Thus, I'm looking to override the problematic function at the point in my code (controller or service) where I invoke the faulty function.
Is this doable? If so, what's the best approach to accomplish this?