remembering states using data-ng, ng-if, ng-model