Sign in to edit and +1 items.
Login required
Download

AngularJS Resources Plugin

(0)
Author(s) Vladimír Oraný
Current Release 0.1.2   (3 months ago)
Grails Version 1.3.7 > *
Tags angular  angularjs  javascript  mvc  resources 
Dependency
compile ":angularjs-resources:0.1.2"
Last updated by 3 months ago
Last updated by musketyr 3 months ago
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).

Sources on GitHub

Last updated by 3 months ago
Last updated by 3 months ago