I am having trouble with angularjs directives finding child DOM elements with the injected angular element.
For example I have a directive like so:
From the docs on angular.element:
find()
- Limited to lookups by tag name
So if you're not using jQuery with Angular, but relying upon its jqlite implementation, you can't do elm.find('#someid')
.
You do have access to children()
, contents()
, and data()
implementations, so you can usually find a way around it.