operador ternário em angular
<span> {{selectedSport.key === 'walking' ? 'steps' : 'km'}} </span>
Coding Owl
<span> {{selectedSport.key === 'walking' ? 'steps' : 'km'}} </span>