change to use ng-show directive