Closed Kukiwon closed 7 years ago
I just found out that the error was unrelated to this lib and that this lib has only been tested with Angular 1.5.x.
Yeah, I'm aware of this. Because the promise associated with the modal is cancelled when the modal is dismissed, angular 1.6's error handling will catch that and make a fuss if you don't handle it. It still works, its just a bit annoying.
When I try to open a modal I get the following error in the console:
Possibly unhandled rejection: undefined
Here's the code that I'm using:
Note that when I take out the
$scope
parameter in the controller, no error is produced and the modal shows.I'm using Angular version 1.6.5.