//#######################  TUTORIAL 19 #####################################################
//STRING TEMPLATES:

you can use interpolation in typescript just as you do in angular by using the back ticks. using the back ticks is like using <pre> because it display the data as is with all the white spaces.

let user = 'Tom';
let greet = `welcome 'single quote' "doublt quotes" ${user} to ES2015
this is the second line.
third line and so on..`;
console.log(greet);
/*
OUTPUT:
welcome 'single quote' "doublt quotes" Tom to ES2015
this is the second line.
third line and so on..
 */

 this is where i learned this: https://www.youtube.com/watch?v=001s2FJ10E8&list=PLC3y8-rFHvwhI0V5mE9Vu6Nm-nap8EcjV&index=18