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: `