Fixed first example in book. Fixed minor typos.

Fixed example which references non existent model "todo" instead of "todo1".
Fixed minor typos.