Add the relevant webjars to your build file:
libraryDependencies += "org.webjars.bower" % "angular" % "1.3.15"
Add the resources to your server definition:
unfiltered.netty.Server
.http(8080)
.resources(this.getClass.getResource("/www/"), cacheSeconds = 3600)
.resources(this.getClass.getResource("/META-INF/resources/webjars"), cacheSeconds = 3600)
.run
Then, assuming you have a file in your project resources/www/index.html
, you can update the HTML to include the file:
...
<script src="/webjars/angular/1.3.15/angular.min.js"></script>
...