internet explorer 8 - angularjs location.search ie9 ie8 -



internet explorer 8 - angularjs location.search ie9 ie8 -

i newbie angularjs , i'm trying read query string key value pairs using $location.search. next code works on chrome, ie10 , firefox:

var app = angular.module('myapp', []); app.config(function($locationprovider){ $locationprovider.html5mode(true).hashprefix('!'); }); app.controller('paramcontroller', function($scope, $location, $window) { console.log($location.search()['term']); });

on ie8/9 page re-displayed '#!' in url eg. /demo/angularjs/index.html /#!/demo/angularjs/index.html

is there way in angularjs read , parse querystring parms in ie8/9?

angularjs internet-explorer-8 internet-explorer-9

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -