I have an object speaker, in my scope and I would like to render it with angularjs.
I would like to render in my html page, if speaker.url exists:
<a href="{{speaker.url}}">{{speaker.name}}</a>
Otherwise, just render (without a element):
{{speaker.name}}
What's the best way to achieve this?