In my durandal app every page except the home page has a left navbar. This left navbar should be update on refresh, though it should reside on shell.html.
The problem is that i'm not being able to hide it properly on the home page. I can use jquery hide() method to hide the leftnav div when i'm on the home page, but the problem is that i can only use jquery code after data-bindind, and until there i can see the navbar. I tried to use durandal composition, but i'm not sure how can I hide the navbar only in the home page since i don't know how to know if i'm on the home page or not inside shell.js.
Any ideias?