grails-angularjs-springsecurity-workshop icon indicating copy to clipboard operation
grails-angularjs-springsecurity-workshop copied to clipboard

are the files under assets in the correct folder?

Open norricorp opened this issue 9 years ago • 2 comments
trafficstars

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

norricorp avatar Aug 17 '16 10:08 norricorp

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

scharanjit avatar Aug 22 '16 07:08 scharanjit

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

mbarth avatar Oct 05 '16 03:10 mbarth