Hi guys.

Maybe you can help. What I want to achieve is to define the message format 
for a number of messagess and store them in the database for later 
retrieval and rendering on the page, hoping that the variables which are in 
the message body will be resolved to actual variable values from the 
$scope. For example I have the following messages in the DB:

You gave {{value}} coins to {{beneficiary}}.
You just recieved a {{title}} title for your achievements!

... etc ...

Let's assume that I store them in {{message}} variable in angular.

If I want to put them in the page, for example, like this:

Message: {{message}}<br>

I get the "You gave {{value}} coins to {{beneficiary}}" instead of "You 
gave 38 coins to John".

Any ideas how to deal with this?

Best regards,
DP.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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.

Reply via email to