I have a VM that defines routes and displays a menu. One of the routes is configured as
nav: false. Because of this, it will not appear in the
router.navigation routes – so no way to access
However, when this route is active, I don’t want the menu displayed. In this blog post by Dwayne Charrington, he indicates that
activate accepts a second parameter – navigationInstruction. However, that always comes in
undefined for me – so I’m guessing that was an old blog post and that that parameter is no longer passed.
So, is there a way for me to access the active route?