this.currentDetails = new ChoseView();
This line causes a very critic error. Where is ChoseView() defined in the book? It IS in the github repository, but not referenced here, nor in the next pages. In the next pages you'll see a screenshot showing how this code supposedly works, but no. It's very confusing and not fair to have to open github to paste not explained code.
You have to copy git views/chose.js and views/details.js, then reference the require in views/layout. https://github.com/pipefishbook/ch_4/tree/master/layout/app/views
Share this highlighthttp://www.safaribooksonline.com/a/full-stack-web/54777/