| Start |
|---|
| Location Class Location is a service that applications can use to interact with a browser's URL. Depending on which LocationStrategy is used, Location will either persist to the URL's path or the URL's hash segment. Location is responsible for normalizing the URL against the application's base href. |
| AsyncPipe The async pipe subscribes to an Observable or Promise and returns the latest value it has emitted. When a new value is emitted, the async pipe marks the component to be checked for changes. When the component gets destroyed, the async pipe unsubscribes automatically to avoid potential memory leaks. |
| Displaying current angular2 version used in your project To display current version, we can use VERSION from @angular/core package. |
| Currency Pipe The currency pipe allows you to work with you data as regular numbers but display it with standard currency formatting (currency symbol, decimal places, etc.) in the view. The pipe takes three optional parameters:
More documentation on the currency pipe: https://angular.io/docs/ts/latest/api/common/index/CurrencyPipe-pipe.html (opens new window) |
Read Article
https://develop.horje.com/learn/1434/reference