Hi Atchyut Ram Tutika,
Thanks for reporting this issue in Microsoft Community.
In your description, you are using Angular to program in Edge and Chrome browsers and you found that the <mat-slide-toggle> component reads different states in different browsers. I appreciate your desire to get the usage of the component in question.
This issue is not supported by our community, however, it is better suited to be posted in Microsoft Learn, please post your question by clicking Ask a question in the top right after logging in to your Microsoft account. There will be more specialized support staff and developers here with more development experience who will be able to provide you with more targeted help in this area.
Thank you for your understanding and support.
Best regards,
Zev - MSFT | Microsoft Community Support Specialist