Grails AngularJS Plugin
JavaScript Groovy
Pull request Compare This branch is 1 commit ahead, 137 commits behind smartiniOnGitHub:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Grails AngularJS Resources Plugin

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. To autobind AngularJS to the page require 'angular-autobind' module in the template.

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).

To install the plugin just type

  grails install-plugin angularjs-resources