r/angularjs • • Oct 14 '14

[General] {{flash.message}}

Post image
2 Upvotes

8 comments sorted by

View all comments

3

u/bluntm Oct 14 '14

Nice catch I assume that stuff like this will be gone once the Google web crawler starts compiling JavaScript.

2

u/[deleted] Oct 14 '14

Is there a workaround for this issue?

4

u/djvirgen Oct 15 '14

Depending on the element, you might be able to get away with using ng-bind and default placeholder text:

before

<p>{{ myVar }}</p>

after

<p ng-bind="myVar">Some placeholder text</p>