I want to remove jquery from my app.. But I want substitute for $.each in angularjs... How can I loop around dom elements ?? Here I have added my code.. I want to convert i
angular.forEach(angular.element("li a"), function(value, key){ var a = angular.element(value); a.addClass('ss'); });
You can convert it into object and then, you can use it..