I work on the team who using Angular, I was using Vue before, I have learned the Angular 7 so far for 5 days, and my team still using Angular 4, I want to know how to set up the prop in child to parent? I usually in Vue use Prop in components so, I can use it on other component and set the data of Prop, but in Angular, I don't know how to use it (thought I have learned it so far and still not sure how to binding in the correct way) and is it possible ??
I want to make a loader component in this Angular component, but I want to make it reusable to set up the width and height of the loader on another component, how to do this in Angular ??
let say I want to fetch data and then wait for it while showing a loader
like this :
<div>
<app-loader *ngIf="show == 'true'" [setupWidhtLoader]="is-That-Possible-to-Set-Up-Here?"> </app-loader>
<h2> {{ data.full_name }} </h2>
</div>