fixed invalid ng-if