This was created to demo 2 different components accessing that same data stored in a service. I'm not planning on extending it as it is really just for a code demo. Feel free to fork or clone it if it will help you teach someone else or use in your own app.
This project was generated with Angular CLI version 6.0.8.
Before running ng serve for the first time please run npm install
to make sure you have everything.
There arent any external libraries but I have found that it runs smoother if you do that.
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.
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.