used the ng-if