From 175a5e4d8782677b0efbbaad237901fbba6313b8 Mon Sep 17 00:00:00 2001 From: Tapas Jena Date: Mon, 9 Nov 2015 14:15:00 +0800 Subject: [PATCH] @View decorator removed to be consistent with other examples available in angular.io site --- public/index.jade | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/index.jade b/public/index.jade index c17ab29b2e..810a9360a0 100644 --- a/public/index.jade +++ b/public/index.jade @@ -12,8 +12,10 @@ p.text-body Express your ideas with clean, understandable code. Angular is simple to build on, easy to change, and friendly to the way UX designers work. Create a UI that is beautiful by default, with material design and support for web components. Get started in just minutes with our QuickStart Guide. .c6 code-example(language="javascript" format="linenums" showcase="true"). - @Component({selector: 'my-app'}) - @View({template: '<h1>Hi {{ name }}</h1>'}) + @Component({ + selector: 'my-app', + template: '<h1>Hi {{ name }}</h1>' + }) // Component controller class MyAppComponent {