<a ng-show="user.profile[network]" ng-href="{{user.profile[network]}}" target="_blank">
  <img ng-src="{{image}}" alt="{{altText}}" class="fa-img" ng-show="image"/>
  <i class="fa {{faClass}}" ng-hide="image"></i>
</a>