I'm having a problem with angular routing mechanism:
$routeProvider
.when("/", { templateUrl: "/*some MVC calls to return a partial view*/"})
.when("/somewhere/:someParams", { templateUrl: "/*some MVC calls to return a partial view*/"})
...
.otherwise({redirectTo: "/"})
The problem is I'm using a wrapbootstrap's theme (more accurately the Ace) and it has lots of functionality based on <a>
tags and href="#"
attributes and whenever the user clicks an element (like the dropdown menus which also have a <a href="#">
tag), angularjs jumps in and tries to parse the url which looks like this most of the time: http://localhost/site/somewhere/someParams#
any suggestions on how to separate these two functionality?
thanks in advance