Hi Vishal Rana,
Greetings from Syncfusion support.
In Angular, every html attribute value always be a string, so you need to wrap visible property by square brackets.
<ejs-dialog #template [visible]='false'></ejs-dialog>
We have prepared stackblitz sample for your reference, check below mentioned link
If you still facing any issues, kindly revert to us.