WebPlatform bug ? #1300
Description
While testing angular with IE, I had an issue with WebPlatform.
IIUC the goal of the linked code is to add the name of the custom component as an attribute to all child nodes.. That's because we use strict styling.
The thing is we are not using custom components in Angular, a component can be any node such a vanilla div. How are we supposed to use platform.js in such a case - can it even work ?
Let's find there is a way to make this work then there is an other issue with the code: we try to assign the @Component
selector. However the component can be anything ".class, [att]=value, ...". Should we get the element name, the selector would have to be modified to extract the tag name. This probably explains #1189.
@codelogic @jbdeboer please correct me if I'm wrong and add more information - or a fix :)