Erdeniz Korkmaz
Erdeniz Korkmaz

Reputation: 333

AngularJs Bootstrap UI Simple injector error

I'm using ui-bootstrap-tpls-0.14.3.min but the code below is giving an error something like this. What is the problem?

"Error: [$injector:unpr] http://errors.angularjs.org/1.4.7/$injector/unpr?p0=%24modalProvider%20%3C-%20%24modal%20%3C-%20InterfacePageController"

   function InterfacePageController(HttpService, crypto, $routeParams, $uibModal, $log) {
    ...
    }

Upvotes: 0

Views: 86

Answers (1)

user5513228
user5513228

Reputation:

Make sure you have ui.bootstrap included in your main module like:

app.module("myApp", ["ui.bootstrap")

http://angular-ui.github.io/bootstrap/

Upvotes: 1

Related Questions