You can try this https://github.com/vinayk406/angular-expression-parser
Regards, Vinay
On Tuesday, 26 January 2016 23:17:52 UTC+5:30, Josh Pendergrass wrote:
>
> what is the $eval equivalent in angular2. I have an angular expression
> returned in json and an object returned from a server. so i want to do
> something like this.
>
> var obj = {FullName:"Josh Pendergrass", Id:123};
> var expression = "Name : {{FullName}}";
>
> $eval(expression,obj}; // result Name : Josh Pendergrass.
>
>
>
> Is this possible in angular2?
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.