angular-material-sidenav
angular-material-sidenav copied to clipboard
ui-router dependency
Hi,
Currently it seems the menu is entirely dependent on ui-router, and that every menu link corresponds to a state. Is there any way to forgo that for certain links and instead just have an external URL? For example, I have some internal states but I also want to link out to a few other websites.
Hi, yes it depends on ui-router
I see what you mean, I've planed to manage both case (ui-router and without) but still didn't do it yet :( However, I'm going to do a quick features to allow external URL, by adding an 'url' property which will override the "state". The external URL will be then opened with a target "_blank". Maybe tonight, new release will come.
Thanks. It would also be nice to include ui-router parameters in the menu, if you decide to stick with ui-router. These would then be passed with $state.go(state, params)
. Currently only being able to link to the raw states is a bit limiting.
you're welcome.
yep, gonna do that for param ;)
hello Sovanna ! , like this all? finally have included improving the 'url' property? I try to use it and it does not work friend, you help me? great work done around here! Thanks in advance