web component - Using <google-chart> with Angular2 -


i'm unable web-component <google-chart> working in angular2. if add this:

<link rel="import" href="bower_components/google-chart/google-chart.html"> <google-chart>details omitted</google-chart> 

to quickstart index.html chart fails draw. if comment out angular2-related stuff chart draws.

i unhelpful error "uncaught typeerror: cannot read property 'value' of undefined" in zones.

i played around using gulp-based todo app found on reddit , found if comment out zones.js todo elements , chart draw, form , todo list fail communicate. putting zones.js in, todo app works chart doesn't draw. appears related how angular2 uses zones.

am doing wrong, or angular2 bug?

i facing similar issue when using polymer element in angular 2 app. fixed using new binding mechanisms in angular 2. specific change present in commit. hope helps.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -