Added one time binding to ng-if