Skip to content

Commit d0c6dff

Browse files
Update README.md
- content update
1 parent bda8cd5 commit d0c6dff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,12 +1360,12 @@ You can download the PDF and Epub version of this repository from the latest run
13601360
**[⬆ Back to Top](#table-of-contents)**
13611361
13621362
61. ### How do you create directives using CLI?
1363-
You can use CLI command `ng generate directive` to create the directive class file. It creates the source file(`src/app/components/directivename.directive.ts`), the respective test file(.spec.ts) and declare the directive class file in root module.
1363+
You can use CLI command `ng generate directive` to create the directive class file. It creates the source file(`src/app/components/directivename.directive.ts`), the respective test file `.spec.ts` and declare the directive class file in root module.
13641364
13651365
**[⬆ Back to Top](#table-of-contents)**
13661366
13671367
62. ### Give an example for attribute directives?
1368-
Let's take simple highlighter behavior as a example directive for DOM element. You can create and apply the attribute directive using below steps,
1368+
Let's take simple highlighter behavior as a example directive for DOM element. You can create and apply the attribute directive using below step:
13691369
13701370
1. Create HighlightDirective class with the file name `src/app/highlight.directive.ts`. In this file, we need to import **Directive** from core library to apply the metadata and **ElementRef** in the directive's constructor to inject a reference to the host DOM element ,
13711371
```javascript
@@ -1392,7 +1392,7 @@ You can download the PDF and Epub version of this repository from the latest run
13921392
**[⬆ Back to Top](#table-of-contents)**
13931393
13941394
63. ### What is Angular Router?
1395-
Angular Router is a mechanism in which navigation happens from one view to the next as users perform application tasks. It borrows the concepts or model of browser's application navigation.
1395+
Angular Router is a mechanism in which navigation happens from one view to the next as users perform application tasks. It borrows the concepts or model of browser's application navigation. It enables developers to build Single Page Applications with multiple views and allow navigation between these views.
13961396
13971397
**[⬆ Back to Top](#table-of-contents)**
13981398

0 commit comments

Comments
 (0)