Reputation: 11
as you can see, hbs has a placeholder for {{abcd}} and route returns the value for abcd but my page does not show that data. When i do a view source, i can see that js function is carried into the page! Am I missing something? do I need to write something in controller folder before route and model/template can talk to each other?
Upvotes: 0
Views: 52
Reputation:
Templates don't know anything about route properties. {{abcd}}
would refer to a controller property. In order to access it you will have to go through the controller's model property {{model.abcd}}
.
I would recommend you give the guides a thorough look.
Upvotes: 2