From d38689677c5e92b0e1018bdfdd234991727d307f Mon Sep 17 00:00:00 2001 From: vsavkin Date: Tue, 6 Oct 2015 17:04:33 -0700 Subject: [PATCH] example(core): update hellow world example to use components without @View --- modules/examples/src/hello_world/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/examples/src/hello_world/index.ts b/modules/examples/src/hello_world/index.ts index b79d4f2b9b..ac390b1643 100644 --- a/modules/examples/src/hello_world/index.ts +++ b/modules/examples/src/hello_world/index.ts @@ -42,10 +42,7 @@ class RedDec { selector: 'hello-app', // These are services that would be created if a class in the component's // template tries to inject them. - viewBindings: [GreetingService] -}) -// The template for the component. -@View({ + viewBindings: [GreetingService], // Expressions in the template (like {{greeting}}) are evaluated in the // context of the HelloCmp class below. template: `
{{greeting}} world!