robfletcher/grails-angular-scaffolding — pull request #33 by aggug (2013-10-14 09:51:22+00:00)
Title: Updated to support Grails 2.3 and Scaffolding 2.0

Updated and tested on Grails 2.3.

One more possible edit: The 'angular-scaffolding' resource in the plugin descriptor file does not include grails-default.js or grails-resource.js. Probably should include one or the other, or mention in the readme that the app must override the 'angular-scaffolding' resource and include one of the JS files.

In AngularScaffoldingResources.groovy:
'angular-scaffolding' {
dependsOn 'jquery', 'angular-resource', 'angular-grails-default' // Include grails-default here
resource id: 'js', url: [plugin: 'angular-scaffolding', dir: 'js', file: 'scaffolding.js']
resource id: 'css', url: [plugin: 'angular-scaffolding', dir: 'css', file: 'scaffolding.css']
}

Or in the app (ApplicationResources.groovy):

'angular-scaffolding' {
dependsOn 'jquery', 'angular-resource'
resource id: 'js', url: [plugin: 'angular-scaffolding', dir: 'js', file: 'scaffolding.js']
resource id: 'js', url: [plugin: 'angular-scaffolding', dir: 'js', file: 'grails-default.js'] // Include grails-default here
resource id: 'css', url: [plugin: 'angular-scaffolding', dir: 'css', file: 'scaffolding.css']
}

Cheers,
Rob