I'm trying to get my expressJS-Model to my .jade-template, but the way I can access the Model with JS on the client-machine.
The idea is simple: I want to use the Model with Knockout - so I need to give the Model-Object as it is to the client.
If I do the obvious - var t = #{customer} - I ending up with the rendered output var t = [object Object] So how can I use the object on the client-side?
Thanks!