I have hit this a couple times, where I want to selectively render a tag on a condition but leave the contents. My use case is a directive when I have an optional link, so I want to render the opening and closing <a>
tags but leave the contents alone in either case.
<a ng-if="condition"><p>Render me always</p></a>