I want to add a check in ngIf that if this module is compiling then every ngif checks will return true As I have developed a project I don't want to make change in the whole project by creating a new directive and add that into the project If I can manipulate the existing logic it will be great help