angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

Routes without components #391

Open waeljammal opened 8 years ago

waeljammal commented 8 years ago

Hi,

Is it not possible to have routes without components?

My use case is that I have two views I was to persist when I switch between so I don't want the router destroying the views as I switch between them, I just want to have 2 routes that simply have /source-mode/:id and /designer-view/:id and use those to hide/show the views while maintaining their state.

I can not store the state else where because they views contain iframes and they get reloaded every time I navigate, it's made my user experience really bad.