title: digest error in angular for window.location.assign(url) in IE
body: <p>I'm using angular js and i get following error whenever i'm trying to change window location url using window.location.assign(url). This happens only in IE
  Here is the error which i get:</p>
  
  <pre><code>10 $digest() iterations reached. Aborting!
  Watchers fired in the last 5 iterations: [["fn: function $locationWatch() {\n      var oldUrl = $browser.url();\n      var currentReplace = $location.$$replace;\n\n      if (!changeCounter || oldUrl != $location.absUrl()) {\n        changeCounter++;\n        $rootScope.$evalAsync(function() {\n          if ($rootScope.$broadcast('$locationChangeStart', $location.absUrl(), oldUrl).\n              defaultPrevented) {\n            $location.$$parse(oldUrl);\n          } else {\n            $browser.url($location.absUrl(), currentReplace);\n            afterLocationChange(oldUrl);\n          }\n        });\n      }\n      $location.$$replace = false;\n\n      return changeCounter;\n    }; newVal: 9; oldVal: 8","fn: function ngModelWatch() {\n    var value = ngModelGet($scope);\n\n    // if scop
  </code></pre>
  
  <p>My JS code from which call is made:</p>
  
  <pre><code>$scope.onRowClick = function(selected, row, $event) {       
          if(selected){
              window.location.assign("/lora/#/origination/" + row.loanRequestNo); 
          }
      };
  </code></pre>
  
  <p>my router js. </p>
  
  <pre><code>var app = angular.module('loraApp', []);
  
  app.config([ '$routeProvider', function($routeProvider) {
      $routeProvider.when('/dashboard', {
          templateUrl : 'app/html/dashboard.html'
      }).when('/origination', {
          templateUrl : 'app/html/origination/origination.html' , controller: 'OriginationCtrl'
      }).otherwise({
          redirectTo : '/dashboard'
      });
  } ]);
  </code></pre>
  
  <p>I'm trying to navigate from /dashboard to /origination. But this happens also when I try to navigate from /origination to /origination. basically this happens whenever my code encounters window.location.url</p>