Hello there!
I'm currently in the process of developing a Web-App using Angular 1.6 / MVC 4.6 / E.F 6.0, and I've integrated UI-Grid into it from UI-Grid. The setup is running smoothly as intended. However, I've encountered an issue while trying to implement a custom filter similar to the one outlined in this section of the documentation. My goal is to replicate the custom "Age" filter functionality. It's working fine on my local environment but throws two errors once I publish the Web-App:
Possibly unhandled rejection: canceled
Error: [$injector:unpr] http://errors.angularjs.org/1.6.2/$injector/unpr?p0=nProvider%20%3C-%20n%20%3C-%20myCustomModalCtrl
After some investigation, I believe the issue lies within the controller/directive that I added for the custom filter. I have referred to the Angular JS help page, but unfortunately, I am unsure how to resolve this error and why it only occurs after deployment.
Below is a snippet of the JavaScript code:
// JavaScript code here...