<div ng-if="item.alert_id" ng-repeat="x in item.alert_id">
  <a ng-href="#/profiling/alert/{{x}}">{{x}}</a>
</div>

<div ng-if="item.ALERT_ID">
  <a ng-href="#/profiling/alert/{{item.ALERT_ID}}">{{item.ALERT_ID}}</a>
</div>
