Skip to content Skip to sidebar Skip to footer

Angular Directive To Dynamically Set Attribute(s) On Existing Dom Elements

I'm somewhat new to Angular, so feedback on alternative approaches is certainly welcome. I have created a directive called 'serverMaxLengths'. When the directive is placed on an n

Solution 1:

The addition of $compile(thisElement.contents())(scope); resolved the issue that was of primary concern.


Post a Comment for "Angular Directive To Dynamically Set Attribute(s) On Existing Dom Elements"