robfletcher / grails-angular-scaffolding

A Grails plugin for scaffolding views using Angular.js
http://grails-ng.cloudfoundry.com/
87 stars 43 forks source link

no module: grailsService #30

Open ggascoigne opened 11 years ago

ggascoigne commented 11 years ago

I've getting a javascript error on a pretty simple example and I'm wondering what I misconfigured.

gives me

Error: No module: grailsService http://localhost:8080/static/plugins/angular-scaffolding-1.0-SNAPSHOT/js/angular/angular-1.0.6.js Line 1104

Any Suggestions?

dmarley commented 11 years ago

(we are doing prototype stuff and) as a work around for now we just updated the

grails-app\conf\ApplicationResources.groovy file by adding "grails-default" ref to the angular module --- got us moving forward, so we could continue prototype.

Example: angular { resource id: 'js', url: [dir: 'js/angular', file: "angular-${fileVersion}.js"], nominify: true resource id: 'js', url: [dir: 'js', file: 'grails-default.js'] }