I have two custom directives; namely directiveA
and directiveB
.
Both are custom directives performing two different actions
<input type="text"
name="order_value"
data-ng-model=""
directive-a="{{formatText}}"
directive-b="{{test}}"/>
But when I use both directives, the element is not shown. If I use only one of the directives it's working properly.
My console is displaying the following error.
Error: error:multidir Multiple Directive Resource Contention
What should I do to be able to use both my directives on the same element?