The bower-grails-asset-pipeline plugin allow you load javascript libraries directly from bower. You required to install asset-pipeline plugin.
For more information on how to use asset-pipeline, visit repo. You can search libraries in bower repository bower.
Add this plugin to BuildConfig.groovy
:
compile ":asset-pipeline:2.1.5"
compile ":bower-grails-asset-pipeline:0.1"
In any javascript asset you can specify library with version or latest available from repo. Just add bower.js and it will be looked-up in bower repository:
//= require angular-v1.5.3.bower.js
//= require underscore.bower.js
NOTE: If you do not specify version, it will download latest version every day. Version should be exactly the same as in git-repo tag.