diff --git a/modules/angular2/src/core/compiler/view.ts b/modules/angular2/src/core/compiler/view.ts index 87781f3b96..048874e7cc 100644 --- a/modules/angular2/src/core/compiler/view.ts +++ b/modules/angular2/src/core/compiler/view.ts @@ -184,7 +184,7 @@ export class AppView implements ChangeDispatcher, RenderEventDispatcher { if (b.isElementProperty()) { this.renderer.setElementProperty(elementRef, b.name, currentValue); } else if (b.isElementAttribute()) { - this.renderer.setElementAttribute(elementRef, b.name, currentValue); + this.renderer.setElementAttribute(elementRef, b.name, `${currentValue}`); } else if (b.isElementClass()) { this.renderer.setElementClass(elementRef, b.name, currentValue); } else if (b.isElementStyle()) {