I have a directive A that I can't change (a predefined one). I want to create another directive B where the link function should be called first (before A). How can I do it? (let's say I don't know what is the priority of directive A - if it's relevant at all...).
The structure of the html is that directive B is a child of directive A:
<DirectiveA><DirectiveB></DirectiveB></DirectiveA>