Open jzahka opened 8 years ago
Can confirm when using with Angular Material's <md-button>
directive.
I've forked repo and made changes to use ng-transclude
instead of ng-include
which fixes the scope issues - at the cost of deprecating using cardTemplate
and cardTemplateString
.
And you'll have to use $parent.card
instead of card
when referencing the element in the transcluded item.
When you include using the transclude method of inserting card template, and the contents include a directive that has a transclude, things get wonky.
Here is an example codepen.