I am trying to follow the "Getting Started" section on aurelia.io and having some problem with string interpolation inside a string.
In the viewmodel in the first example, the 'fullName' calculated getter returns a string
return '${this.firstName} ${this.lastName}'
This value is used in the view (html template) as ${fullName}.
The problem is instead of showing the calculated full name, the actual return string is shown. I have tried with both Chrome and Firefox and both are not showing the correct value.
Same problem exists with the welcome() function since it also returns a string value.
I noticed in the Aurelia Visual Studio sample, the return values were changed to the actual calculated string.
return this.firstName + " " + this.lastName;
What am I doing wrong?