fix ng-if issue, now ng-if works