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

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -