Is there a more \"angular\" way of selecting DOM elements inside a directive template? For example, say you have this directive:
app.directive(\"myDirective\", f
I don't think there is a more "angular way" to select an element. See, for instance, the way they are achieving this goal in the last example of this old documentation page:
{
template: '' +
'{{title}}' +
'' +
'',
link: function(scope, element, attrs) {
// Title element
var title = angular.element(element.children()[0]),
// ...
}
}