diff --git a/modules/angular2/src/render/dom/events/event_manager.js b/modules/angular2/src/render/dom/events/event_manager.js
index 408086d98f..424c3e3728 100644
--- a/modules/angular2/src/render/dom/events/event_manager.js
+++ b/modules/angular2/src/render/dom/events/event_manager.js
@@ -54,7 +54,7 @@ export class EventManagerPlugin {
// We are assuming here that all plugins support bubbled and non-bubbled events.
// That is equivalent to having supporting $event.target
- // The bubbling flag (currently ^) is stripped before calling the supports and
+ // The bubbling flag (currently ^) is stripped before calling the supports and
// addEventListener methods.
supports(eventName: string): boolean {
return false;
diff --git a/modules/angular2_material/src/components/checkbox/checkbox.js b/modules/angular2_material/src/components/checkbox/checkbox.js
index 5477095dd5..82fe116ac5 100644
--- a/modules/angular2_material/src/components/checkbox/checkbox.js
+++ b/modules/angular2_material/src/components/checkbox/checkbox.js
@@ -39,7 +39,7 @@ export class MdCheckbox {
/** Setter for tabindex */
tabindex: number;
- constructor(@Attribute('tabindex') tabindex: string) {
+ constructor(@Attribute('tabindex') tabindex: String) {
this.role = 'checkbox';
this.checked = false;
this.tabindex = isPresent(tabindex) ? NumberWrapper.parseInt(tabindex, 10) : 0;
diff --git a/modules/angular2_material/src/components/dialog/dialog.html b/modules/angular2_material/src/components/dialog/dialog.html
new file mode 100644
index 0000000000..d291f7a3e5
--- /dev/null
+++ b/modules/angular2_material/src/components/dialog/dialog.html
@@ -0,0 +1,33 @@
+
+
+
+ Last result: {{lastResult}} +
+ +Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+Here are some paragaphs to make the page scrollable
+ +There are {{numCoconuts}} coconuts.
+Return:
+ + ` +}) +class SimpleDialogComponent { + numCoconuts: number; + dialogRef: MdDialogRef; + toReturn: string; + + constructor(dialogRef: MdDialogRef) { + this.numCoconuts = 0; + this.dialogRef = dialogRef; + this.toReturn = ''; + } + + updateValue(event) { + this.toReturn = event.target.value; + } + + done() { + this.dialogRef.close(this.toReturn); + } +} + + +export function main() { + commonDemoSetup(); + bootstrap(DemoApp, [ + bind(UrlResolver).toValue(new DemoUrlResolver()) + ]); +} + +