Simple AngularDart component Failing

Issue I have this minimal code for an Angular Dart component, I’ve even written it in the same file, but I cant get it to work. import ‘package:angular/angular.dart’; import ‘package:angular/application_factory.dart’; void main() { applicationFactory().addModule(new TT()).run(); } class TT extends Module

Continue reading

Nested polymer template inheritance

Issue Is there any way to surround a polymer child template with its parent’s template? In the following example shadow tag bring the parent’s template into the child view, but it’s ignoring its content: Parent polymer element <polymer-element name=”my-window”> <template>

Continue reading

How to access light DOM in Polymer.dart?

Issue I’m looking for a way to access light DOM inside a custom Polymer.dart element. my_element.html <link rel=”import” href=”../../../../packages/polymer/polymer.html”> <polymer-element name=”my-element”> <template> <content></content> </template> <script type=”application/dart” src=”my_element.dart”></script> </polymer-element> my_element.dart import ‘package:polymer/polymer.dart’; import ‘dart:html’; @CustomTag(‘my-element’) class MyElement extends PolymerElement { MyElement.created()

Continue reading