I am trying to convert an AngularJS web app to a multi device app.
On the web application I used the ngRoute. Basically something like this
app.config(['$routeProvider',function ($routeProvider) {
$routeProvider
.when('/Home',
{
controller: 'homeCtr',
templateUrl: '/scripts/app/modules/home/home.html'
})
}]);
and in the index html page a simple href and the ngView like below:
<a ng-href="#/Home">Go to Home</a>
<div data-ng-view="">
</div>
If I run the application in Ripple for android it works like a charm, but on Windows or Windows ARM doesn't work at all! Seems it doesn't know how to interpret the # on the link.
How can I solve it?
Thanks!