I have a long string text which I have @ signs front of the values I want to be replaced. Note: Long text is generated, and it is in text file, after I read file, I have it in variable like below:
$scope.text = "example @by goes @you";
And I have let's say "by" and "you" variables, how would I apply it simply so that in view text gets proper values? How would I do it?
I can create custom filter and search for @by and @you and replace values or similar techniques, but perhaps there is simple method which I don't know that angular uses in this cases. Thanks