Template Angular Operator Ternary

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