I have a angular(v1.3.6) application running on cordova. I want to use ng-route(v1.3.6) but while setting up the route-provider, i take surprisingly the following error:
Here you see my application configuration:
puntenApp.config(function ($routeProvider) {
$routeProvider
.when('/pb', {
templateUrl : 'js/pages/pb.html',
controller : 'pbController'
})
.when('/login', {
templateUrl : 'js/pages/Login.html',
controller : 'configuratieController'
});
});
I have no idea why it is interpreted as a cross origin request (even if i take the html files in the same folder) and what should i do?