Modal footer is basically used when the template is fully loaded. User needs to write the code inside the ngAfterViewInit then users will not get the footer element. Thus, footer modal is life cycle event which is used to check whether the Dom is fully loaded or not.

BY Best Interview Question ON 28 Aug 2019