Is there a way to have AngularJS evaluate an expression within model data?
HTML:
{{Txt}}
Model:>
You can execute JS within the brackets:
{{Txt + ' ' + Rest}}
Or create a function that returns the text you want:
$scope.getText = function() { return $scope.Txt + ' ' + $scope.Rest; } {{getText()}}
{{getText()}}