I am working on javascript and using \"Template literals\", which is working on the Chrome and Firefox, but it is not working on the Internet Explorer(IE).
Another option is if you already are using lodash to switch to its _.template function which allows a lot more than just templating literal functionality and has wide browser support.
var compiled = _.template('hello ${ user }!');
console.log(compiled({ 'user': 'pebbles' })); // => 'hello pebbles!'