I have an angular web application, so I would like to use angular also for string interpolations. For example, I would like to make some replacements in myTemplate:
var myTemplate = "Make something awesome with a = '{{scope.a}}' and b = '{{scope.b}}'.";
var scope = {
a: 1,
b: 2
};
I know how to do this with underscore.js:
_.template(myTemplate)(scope);
I'm wondering if it is possible in angular?