grails-angularjs-springsecurity-workshop
grails-angularjs-springsecurity-workshop copied to clipboard
are the files under assets in the correct folder?
Hi Alvaro I am going through your tutorial and I noticed a few tiny typos / omissions. But in exercise 2 after makin the changes in assets I do not get the template in the html. So all I have in my browser is the giant grails logo and the form. No list of todo's. And the form does not send any message out to the server. Previous to your tutorial, I did use the Angular scaffolding plugin and the ng-generate-all command. I used a project called "readingList" and a domain record of "book|". And the controllers, domain and templates generated were put under assets/javascripts/readingList/book. So should the controllers, domain and templates be under todo/todo ? Regards, John
Hi Alvaro,
I am also facing this issue. The tag <div ng-include="'/todo/list.html'"></div> is not listing todo's.
Any update on this?
Regards Charanjit Singh
I just ran the tutorial and had to modify the assets/javascript/todo/controllers/todoController.js file slightly. I had to pass in the Todo object to the TodoController and it worked for me.
function TodoController(Todo)
Regards, Marcelo