Angular Unknown provider: $modalProvider <- $modal <- Controller
Angular UI Bootstrap renamed the $modal
directive to $uibModal
in version 0.14.0.
Also note that $modalInstance
is now $uibModalInstance
.
See the Angular UI Bootstrap documentation for Modal here.