added ng-if to security aspects