*ngIf error after updating project to 2.4.8

    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    <ion-title class="header-title" *ngIf!="search">Exam List</ion-title>
   <ion-searchbar  *ngIf="search"></ion-searchbar>-->
    <div class="topright" *ngIf!="search" (tap)="searchclass()">
      <ion-icon name="search"  ></ion-icon>
    <div class="topright" *ngIf!="search">
      <ion-icon name="apps"></ion-icon>

This code was working with 2.2.1 but after updating to 2.4.8 it is giving error.
template parse errors:
Parser Error: Unexpected token : at column 1 in [search] in HomePage@.

if i remove *ngIf . it is working fine. so what to use instead of *ngif

any solution of this?

got the mistake it should be *ngIf=’!search’