backtick in angular code example
Example: backtick in angular
//That is called Template literals and it's a javascript feature,
//it is not typescript specific.
//you can replace this:
const url = `${this.heroesUrl}/${hero.id}`;
//With
const url = this.heroesUrl + "/" hero.id;