fix(ng-a): check twice if href is empty before cancelling event