javascript - Using $document.querySelectorAll in angularjs -


as $document wrapper angular.element(window.document), ideally $document.queryselectorall() should work, getting error saying not function. can explain?

you should able use...

document.queryselectorall(..) 

omit $ because don't need jquery lite since you're using dom api. otherwise use jquery lite method... this link seems pertinent.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -