Maybe the dependency is missing? angular-ui-bootstrap
is separate from AngularJS. In your Build.scala, add the following and then run play update
:
val appDependencies = Seq(
...,
"org.webjars" % "angular-ui-bootstrap" % "0.3.0-1" exclude("org.webjars", "angularjs")
)
app.js:
require(['angular', './controllers', './directives', './filters', './services', "webjars!ui-bootstrap.js", "webjars!ui-bootstrap-tpls.js"], function(angular, controllers, directives, filters, services) {
angular.module("your.module", ["ui.bootstrap", "ui.bootstrap.tpls"]);
}