Commit 2f4a5fb9 authored by Phillip Couto's avatar Phillip Couto 🔨
Browse files

Fixed the README to read better

parent 4251b662
Pipeline #11517 passed with stages
in 3 minutes and 36 seconds
......@@ -10,8 +10,8 @@ the separate Angular concepts in simple form.
The `@angular/cli` is an npm package that gives developers the ability to easily
manage their Angular applications. The CLI leverages the concept of schematics to
automate updating the project code base in a consistent fashion. This even allows
for library creates to create initial boilerplate code in a project for the developer
as well as migrate the codebase if there is depreciated APIs.
for library creators to create initial boilerplate code in a project for the developer
as well as migrate the codebase if there are depreciated APIs.
For concepts listed below there will be examples of `@angular/cli` commands to create
new instances of the concept in an Angular project.
......@@ -24,7 +24,7 @@ way to isolate functionality as well as shared code so that it provides context
to other developers the type of code that is contained within the module. Modules
are also the only well documented method of code-splitting which allows for portions
of code to be loaded at a later point and reduce the amount of code parsed when a
use visits the application initially.
user visits the application initially.
**Example of creating a module:**
......@@ -37,11 +37,10 @@ ng generate module new-module-name
Components will be the most common concept within an Angular application as they
are used for implementing the user interface and its interactions. Components are
usually created with their own folder and comprise of 3 files, Typescript,
Styles, and HTML. This allows for clear separate of the different concerns for a
component.
Styles, and HTML. This allows for clear separation of concerns.
It is a good rule of thumb to keep components specific to a single purpose.
This way the logic within the component will be simple as well as easier for other
This way the logic within the component will be simple and easier for other
developers to understand.
**Example of creating a component:**
......@@ -52,7 +51,7 @@ ng generate component new-component-name
### Services
Services in Angular applications have many uses in an Angular application. They can
Services in Angular applications have many use casea in an application. They can
be used for:
- Interface to communicate with backends
......@@ -74,7 +73,7 @@ ng generate service new-service-name
### Pipes
Pipes are used for defining elegant functions that format their inputs into a desired
output. Some common pipes that must developers will use are:
output. Some common pipes that most developers will use are:
- async
- date
......@@ -82,7 +81,7 @@ output. Some common pipes that must developers will use are:
- currency
Pipes can also allow for additional parameters that modify how the input is transformed.
Pipes are a create way of taking common conversions and turn them into reusable
Pipes are a great way of taking common conversions and turning them into reusable
elements that are easily referenced in templates as well as code files.
**Example of creating a pipe:**
......@@ -107,7 +106,8 @@ of the user interface as well as render a collection of values using a template
without needing to create a new component.
Common structural directives are `*ngIf`, `*ngFor`, and `[ngSwitch]`. The Angular
team has provided extension documentation on this topic. [Angular - Structural Directives](https://angular.io/guide/structural-directives)
team has provided extension documentation on this topic.
[Angular - Structural Directives](https://angular.io/guide/structural-directives)
### Dependency Injection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment