angularjs - IE 9 change url javascript -
i want change url on button click, now:
$scope.onclick = function(url) { document.location=url; $scope.ispopoveropen = false; }
when url=workspace/#/
the page url becomes: localhost:8080/workspace/#/dashboard
.
problem in ie 9 page url becomes: localhost:8080/workspace/workspace/#/dashboard
page not found error.
maybe knows why , solution this?
i use angular, maybe can give right functionality.
use $location.path("/folder/" + url); include service
angular.module('app') .controller('myapp',[$location, function(...
Comments
Post a Comment