Trying to make MDL working with Angular2.
With shadow DOM emulation angular encapsulates all css and html which it gains from code. But when I use componentHandler.upgradeElement()
, it creates new elements with no encapsulation.
What should I do to make it encapsulated too?