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