From cde3a07215b25282c52aa31ced4074d1d2366c50 Mon Sep 17 00:00:00 2001 From: Shiva Prasad Date: Tue, 30 Jan 2018 01:41:17 +0530 Subject: [PATCH] Update chapter5.md Fixed typo --- docs/chapters/chapter5.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/chapters/chapter5.md b/docs/chapters/chapter5.md index c880dcd..d4e3aae 100644 --- a/docs/chapters/chapter5.md +++ b/docs/chapters/chapter5.md @@ -3,7 +3,7 @@ ### Services -Services are JavaScript functions that are responsible for doing a specific task. Angular services are injected using a Dependency Injection mechanism and include the value, function or feature that is required by the application. There nothing specially related to Services in Angular--there is no ServiceBase class--but still services can be treated as fundamental to Angular applications. +Services are JavaScript functions that are responsible for doing a specific task. Angular services are injected using a Dependency Injection mechanism and include the value, function or feature that is required by the application. There is nothing especially related to Services in NativeScript Angular--there is no ServiceBase class--but still services can be treated as fundamental to Angular applications. #### Creating a service @@ -362,7 +362,7 @@ public getFixtures(competitionId: number, options: FixtureSearchOptions = {}): O ### Components -The component is a controller class with a template which mainly deals with a view of the application and logic on the page. It is a bit of code can be used throughout an application. The component knows how to render itself and configure dependency injection. +The component is a controller class with a template which mainly deals with a view of the application and logic on the page. It is a bit of code that can be used throughout an application. The component knows how to render itself and configure dependency injection. The component contains two important things; one is a view and another contains some logic.