Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

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?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.