I used this code to find my elements in the angular controller:
var el = angular.element('#id');
But this doesn't work. why?
Is it true that I use jQuery to find my elements ?
I confused my code doesn't work any more.
I used this code to find my elements in the angular controller:
var el = angular.element('#id');
But this doesn't work. why?
Is it true that I use jQuery to find my elements ?
I confused my code doesn't work any more.
Please try:
angular.element(document.getElementById("id"));