This isn't a feature that ES6 template literals provide.
es6-template
package may be used to interpolate regular JS string with template literal syntax. At this point ES6 template literal syntax has no real benefits over other template engines.
If the context is the framework (I assume that constant
stands for AngularJS constant service), it may beneficial to use template facilities that the framework offers, i.e.
app.constant('SOMETHING', {
name: '{{ name }}',
...
});
app.run((SOMETHING, $interpolate) => {
let somethingName = $interpolate(SOMETHING.name)({ name: 'name' });
...
});