-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular binding does not work in shady dom. #1722
Comments
I guess you should use some other delimiter like |
The output is the same either way. I wasn't very clear on the output when I posted this, so I will clarify real quick. When I use curly braces, it outputs the title and the delimiter, so it looks like this: When I change it to using So it still outputs the right value, but it also appends the delimiter and variable. |
@Wheately I suspect Shady DOM is the culprit, but I would have thought the symptom would be just a little different. So to check my assumptions, can you create a minimal reproduction I can look at? Either Bower installable, or a .zip with dependencies (dev versions) included. Thanks! |
@justinfagnani I created a minimal reproduction, here is the link: https://drive.google.com/file/d/0ByZ5z4vVbzCRYkJldHUxQXQtY1E/view?usp=sharing |
@robdodson do you know if this has been fixed since? |
I don't know about Angular 1 but Angular 2.x seems to work fine. |
Closing per above comment. Please let us know if you are still running into issues with interopability with Angular. |
The angular curly braces delimiter does not seem to work inside of Polymer elements.
Here is some sample code.
This should output the videos title in the paper material elemtn, but instead it outputs "{{video.title}}". I have tried changing the angular delimiters to "[[ ]]", but still get the same result. Using "ng-bind" seems to work though.
This will output the videos title.
This only seems to happen if the angular controller is declared outside of the polymer element and then the binding used inside an element. This worked before in Polymer 0.5, so I am guessing that it has something to do with shady dom.
The text was updated successfully, but these errors were encountered: