There was an error while loading. Please reload this page.
1 parent a2e7ae5 commit d386896Copy full SHA for d386896
modules/examples/src/hello_world/index.ts
@@ -42,10 +42,7 @@ class RedDec {
42
selector: 'hello-app',
43
// These are services that would be created if a class in the component's
44
// template tries to inject them.
45
- viewBindings: [GreetingService]
46
-})
47
-// The template for the component.
48
-@View({
+ viewBindings: [GreetingService],
49
// Expressions in the template (like {{greeting}}) are evaluated in the
50
// context of the HelloCmp class below.
51
template: `<div class="greeting">{{greeting}} <span red>world</span>!</div>
0 commit comments