Using $document.querySelectorAll in angularjs
<p>As <code>$document</code> is wrapper for <code>angular.element(window.document)</code>, ideally 
<code>$document.querySelectorAll()</code> should work, but I am getting an error saying it is not a function. Can somebody explain?</p>