AngularJS 4 Tutorial: 11. How to connect API to Angular 4 Front End Applicaiton

preview_player
Показать описание
How to connect API to Angular 4 Front End Applicaiton

Create New Project - ng new ProjectName
Run the App - ng serve (or) ng s

To use NgbModule - npm install --save @ng-bootstrap/ng-bootstrap

These 4 points need to remember while connecting API to front end application

1. Make http call from API
2. Receive the observable and map it.
3. Subscribe to the observable
4. Assign the data to local variable
Рекомендации по теме