I have a URL localhost/admin/main
This is at the moment rendered by .NET MVC as AdminController
and view Main
I want it to be rather rendered as localhost/admin/#main
Meaning that it will go to AdminController
and view Index
and angular will route the ng-view
to
.when('/admin/main', ...........)
I have it working, when users does not use nested routing, but I need this solution for 2 level nesting. Any suggestions?