Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Grails AngularJS Plugin
branch: master

This branch is 1 commit ahead, 119 commits behind smartiniOnGitHub:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
grails-app
scripts
web-app
.classpath
.gitignore
.project
AngularjsResourcesGrailsPlugin.groovy
README.md
application.properties
plugin.xml

README.md

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
Something went wrong with that request. Please try again.