title: Angularjs remove() method is not working on IE11
body: <p>The following Angularjs remove() method is working fine in firefox. However when I use Internet Explorer 11 (IE 11), it is not working. I am getting the  error, Object doesn't support property or method 'remove'</p>
  
  <p>The following is my code. Any help please. You can even refer the plunker <a href="http://plnkr.co/edit/0XtT0f?p=preview" rel="nofollow">http://plnkr.co/edit/0XtT0f?p=preview</a>, when you use IE11 'Remove Chart' won't function. I am using angulajs 1.2.16.</p>
  
  <pre class="lang-js prettyprint-override"><code>var chartDivs = angular.element(document.querySelector('.chartsDiv'))
  var cntChartDivs = chartDivs.length;
  
  if (cntChartDivs) {
      while (cntChartDivs &gt; 0) {
          chartDivs[cntChartDivs - 1].remove();
          cntChartDivs = cntChartDivs - 1;
      }
  }
  </code></pre>