From 0a765a41a6f566b9f80ae7114daec544adc21293 Mon Sep 17 00:00:00 2001 From: SociallyAdequateGeek Date: Sat, 27 Jan 2018 13:02:54 -0500 Subject: [PATCH] docs(README): update typo in readme and make some readability changes --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e827d17..09bc2dd 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ # AFSpawnService -This is an Angular/TypeScript service that will dynamically create components in Angular, -and attach them to a view. +This is an Angular/TypeScript service that creates Angular components and attaches them to a view dynamically. -The current version of this repo supports installing `AFSpawnService` into your project - via npm, and using the service to init your own components on-the-fly. +Currently, the `AFSpawnService` is available on npm. Once installed in your project, use the service to initialize your own components on-the-fly. -### To learn more about `AFSpawnService` -If you want to know more about `AFSpawnService`, or you need to understand the need -for the service, please check out my talk about [CAAS: Components As A Service](https://youtu.be/-Hy-i4q8Vtg). +### Want to learn more about `AFSpawnService` and the motivation behind it? +Whether you want to know more about `AFSpawnService` or you need to understand the motivation +for the service, please check out my talk on [Components as a Service (CaaS)](https://youtu.be/-Hy-i4q8Vtg). ### How to use AFSpawnService? @@ -90,7 +88,8 @@ export class AppComponent{ } } ``` -This will attach the spawned component to to view that you provided. + +This will attach the spawned component to the view provided. #### Passing Inputs and Outputs There are two ways to pass inputs/outputs to the spawned component. The first is by passing a key/value object as the third @@ -118,4 +117,4 @@ Let me know if you have questions. This Repo is accepting Pull Requests. -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.2. \ No newline at end of file +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.2.