Thanks for the comment! I've implemented the call-back to the parent
successfully, although the performance is still as bad as it was earlier.
It seems to be that it still iterates through all of the DOM elements
one-by-one.
$element.find(a.tooltips).tooltip();
$('a.tooltips').tooltip();
I
I'm having some difficulties grasping some basic angular flows and
techniques. Is it possible for the outer-directive to know when the
inner-directives have been finished?
outer-directive
inner-directive/inner-directive
inner-directive/inner-directive
inner-directive/inner-directive
That's exactly what I thought, but unfortunately it is not working.
table - controller
table - preLink
table - postLink
tooltip - controller
tooltip - preLink
tooltip - postLink
I would have expected the output below:
table - controller
tooltip - controller
table - preLink
tooltip - preLink
I created a wrapper around the Select2 library for autocompletion and so
far everything works great! The only thing that I'm wondering is this:
- How do I get the selected value / values back to Angular??
In the link function I would need to call to method below to get the value:
element(val)