I got a data structure like this
var abc = [
{question: 'Do {{foo}} like <strong>you</strong>?'},
{question: 'Do {{foo}} like <strong>fruits</strong>?'}
];
A Template like this
<h1>Question</h1>
<span> {{question}} </span>
And in my controller something like this:
$scope.foo = 'Example',
$scope.question = abc[0].question;
As you probably know this does not work.
How could I parse string to a template to use it with variables?