Closed splanky47 closed 7 years ago
I found the error. Maybe consider updating the examples for this syntax
var modal = $modal.open({ templateUrl: 'partials/modal.html', controller: MyModalCtrl }); var MyModalCtrl = [ '$scope', '$modalInstance', function($scope, $modalInstance){ ... } ];
The Modal will not open after minification for me. I am using an updated version checked out yesterday and used the file out of the dist folder. I am getting the 'Unknown provider: eProvider <- e" error and have found it is here 'ctrlInstance = $controller(modalOptions.controller, ctrlLocals);' within the modal provider.