ion-affix icon indicating copy to clipboard operation
ion-affix copied to clipboard

Transcluded templates break $compile

Open zoltan-papp opened this issue 10 years ago • 0 comments

Transcluded templates break $compile

Bug visible here, with ion-toggle: http://codepen.io/zoltan_papp/pen/dovGVo?editors=101

  • moved the linking function into compile prelinking,
  • before the linking (and compiling), I make a copy of the affixed element, save the pure HTML.
  • instead of recompiling the code in every scroll, moved that part to the initialization phrase
  • instead of markup changes, just show and hide the affixed element

Please consider these changes! Cheers, Zoli

zoltan-papp avatar Jun 03 '15 11:06 zoltan-papp