operador ternario en angular
<span> {{selectedSport.key === 'walking' ? 'steps' : 'km'}} </span>
Coding Owl
<span> {{selectedSport.key === 'walking' ? 'steps' : 'km'}} </span>