Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<span>
  <span ng-show="icon && icon.type && icon.src" title="{{icon.title}}" ng-switch="icon.type">
    <i ng-switch-when="icon" class="{{icon.src}} {{icon.class}}"></i>
    <img ng-switch-when="img" ng-src="{{icon.src}}" class="{{icon.class}}">
  </span>
  <span ng-hide="icon && icon.type && icon.src">
    &nbsp;
  </span>
</span>

New to GrepCode? Check out our FAQ X