angular-bind-polymer icon indicating copy to clipboard operation
angular-bind-polymer copied to clipboard

Not working in transclude

Open fiurrr opened this issue 9 years ago • 1 comments

Binding is not working when directive uses transcluding. For example ng-repeat or custom directive. Do you know the way how to solve this problem? Looks like observers don't exist any longer.

fiurrr avatar Jun 19 '15 11:06 fiurrr

I've been investigating a similar problem (I think). What I'm seeing, however, seems to be a problem with initial Angular + Polymer communication rather than an angular-bind-polymer issue. That is, angular-bind-polymer establishes the observers correctly (MutationObserver still works fine), but the initial Angular->Polymer setup does not take place in transcluded content. After updating the Polymer element, angular-bind-polymer reflects changes back into Angular scope, but that's obviously not ideal.

I am working on this and hope to have something in the next week, but if someone has insight -- or better yet a test case -- I'd sure appreciate it. This is proving hard to track down in a repeatable way...

eee-c avatar Aug 13 '15 03:08 eee-c