Skip to content Skip to sidebar Skip to footer

Add Directive Attribute To Directive Element

I have a directive element: return { restrict: 'E', replace: true, transclude: true, template: '
    ' + '
  • Solution 1:

    Solved adding

    $compile(element)(scope);
    

Post a Comment for "Add Directive Attribute To Directive Element"