Wrote an article
https://dev.to/anirbmuk/custom-angular-form-component-57mf