An open API service indexing awesome lists of open source software.

https://github.com/koushik-elite/angular-observable-sample

Angular 4 Observable Example, Using BehaviorSubject, AsyncSubject, ReplaySubject
https://github.com/koushik-elite/angular-observable-sample

angular4 asyncsubject behaviorsubject replaysubject rxjs rxjs-examples rxjs-observables

Last synced: 27 days ago
JSON representation

Angular 4 Observable Example, Using BehaviorSubject, AsyncSubject, ReplaySubject

Awesome Lists containing this project

README

          

# Angular 4 Observable Example
## Using BehaviorSubject, AsyncSubject, ReplaySubject

This simple projects shows communication between parent and child Components and Communication between sibling components using RxJs (Reactive Programming) additional with reactive form implementation

# MyApp

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.2.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

## Demo ScreenShot 1
![ScreenShot](doc/demo2.jpg?raw=true "ScreenShot")

## Demo ScreenShot 2
### Click on the "Start" button bellow to start the timer then subscribe each component with your own delay time
![ScreenShot](doc/demo1.jpg?raw=true "ScreenShot")