ion-affix
ion-affix copied to clipboard
Transcluded templates break $compile
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