no module: grailsService
I've getting a javascript error on a pretty simple example and I'm wondering what I misconfigured.
- grails create-app grails-angular
- cd grails-angular
- cp -r
/grails-angular-scaffolding lib/angular-scaffolding-1.0-SNAPSHOT - add
- grails.plugin.location.'angular-scaffolding'='lib/angular-scaffolding-1.0-SNAPSHOT'
- to BuildConfig
- grails add-domain grails.angular.Book
- grails ng-install-templates
- grails ng-generate-all grails.angular.Book
- grails run-app
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?
(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'] }