fix custom element examples for Dart 1.0
Merge pull request #13 from cwesdorp/master

fix custom element examples for Dart 1.0