Skip to content

g-bhagwanani/angular-customer-list

Repository files navigation

Customer List

This project was generated with Angular CLI version 8.3.17.

This is a basic app that demonstrates the features of Angular 8.

Demonstrated Features

  • Interpolation

Interpolation refers to embedding expressions into marked up text.

Interpolation allows you to incorporate calculated strings into the text between HTML element tags and within attribute assignments.

Template expressions are what you use to calculate those strings.

By default, interpolation uses as its delimiter the double curly braces, {{ and }}.

  • Style Binding

Style binding is used to set a style of a view element. We can set inline styles with style binding.

We can conditionally set a style value depending on a property of the component.

  • Event Binding

Event Binding is one-way data binding, that sends information from the view to the component class.

When a user interacts with your app, sometimes it is necessary to know when this happens.

A click, hover, or a keyboard action are all events that you can use to call component logic within Angular.

  • Two-way Binding

Two-way binding means that any data-related changes affecting the model are immediately propagated to the matching view(s), and that any changes made in the view(s) (say, by the user) are immediately reflected in the underlying model.

When app data changes, so does the UI, and conversely.

  • Built-in pipe

A pipe takes in data as input and transforms it to a desired output.

Angular comes with a stock of pipes that are all available for use in any template.

  • Custom pipe

Pipes in Angular 2+ are a great way to transform and format data right from your templates.

Out of the box you get pipes for dates, currency, percentage and character cases, but you can also easily define custom pipes of your own.

Here for example we create a pipe that takes a string and returns it with all the words having their first character capitalized.

About

A basic project to help get started with Angular 8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published