From 4c4b56747a5550f90504847430380cdfb78125ba Mon Sep 17 00:00:00 2001 From: Dheeraj S <103765896+dheerajstvpm@users.noreply.github.com> Date: Sun, 4 Dec 2022 12:41:11 +0530 Subject: [PATCH] Update index.adoc --- 1.quickstart/3.first-app/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.quickstart/3.first-app/index.adoc b/1.quickstart/3.first-app/index.adoc index 4466a5e..c153512 100644 --- a/1.quickstart/3.first-app/index.adoc +++ b/1.quickstart/3.first-app/index.adoc @@ -55,7 +55,7 @@ TIP: You can write Angular without using annotations you would just have to writ We are going to use other annotations later on, however the main one for working with components is `@Component`. -You can configure the @Component annotation by passing it an object with various parameters. In our example above @Component has one parameter called `selector`, this tells Angular which tag to link this class too. +You can configure the @Component annotation by passing it an object with various parameters. In our example above @Component has one parameter called `selector`, this tells Angular which tag to link this class to. By setting the selector to `joke` we've told angular that whenever it finds a tag in the HTML like `<joke></joke>` to use an instance of the JokeComponent class to control it.