Answer the question
In order to leave comments, you need to log in
How to get element from current scope by className (AngularJS)?
angular.element(".dropdown") returns all DOM elements with .dropdown class, how can get element with .dropdown class only and current $scope?
Answer the question
In order to leave comments, you need to log in
Such things should be wrapped in directives.
And in the link function write elem.find('.dropdown').
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question