I m using angular 7 and i have run into a problem with inspector specifically with the div in which it loads the inspector i m using ngIf to toggle the div which displays the inspector but it does not display the inspector
this is visual of the div
this is the div element
the html ngif code
the toggle component function