Plugins You can find out about all the publicly available Grails plugins.

AngularJS Resources Plugin

4 votes
runtime "org.grails.plugins:angularjs-resources:1.4.2"

 Documentation  Source  Issues


Angular JS resources plugin


runtime ":angularjs-resources:<plugin-version>"


This plugin adds AngularJS resources to the Grails Application.

It uses new Resources Plugin to handle resources gracefully. Just let your AngularJS resources (services, controllers etc.) depend on 'angular' module and it's done. Following AngularJS modules are also provided out of box: angular-aria, angular-animate, angular-cookies, angular-messages, angular-loader, angular-resource, angular-route, angular-sanitize, angular-touch.

There is also controller for AngularJS scenario testing. Just navigate to <app>/nge2e/<scenario-module-name> to see the results. The scenario module must depend on 'angular-scenario'.

The plugin serves minified version for environments other than development. If jQuery plugin is installed it automatically depends on it (inspired by great Twitter Bootstrap Plugin).

Documentation on GitHub | Sample Test webapps