Friday 20 July 2018

Angular 4 Tutorial - Day 4

Day 1
Day 2
Day 3
Day 4

Today it will cover as form handling in angular.

1.       Template based approach – ngModel
2.       Model driven approach – form builder

Create new services as enquiry service.




Wednesday 18 July 2018

Angular 4 Tutorial - Day 2

Day 1
Day 2
Day 3
Day 4

Send Data from Parent to child (Lab 4)

Making the child relation and Parent relation and passing the data from Parent to child.
That can be possible by defining @Input directive in the Child Component.

Suppose you have some value in Parent component and that you need to pass to the child component as like below.