AngularJS Resources Plugin

4 votes
Dependency:
compile ":angularjs-resources:1.3.0"

 Documentation  Source  Issues

Summary

Angular JS resources plugin

Installation

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

Description

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-animate, angular-cookies, 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 webapp