Echo JS 0.11.0

<~>

sbruchmann 1854 days ago. link 1 point
@tane.piper: IMHO, I don’t think that it’s a good idea to use HTML encoded opening curly braces (&#123;), since it’s hard to read for new team members and Angular.js beginners and it is a maintainers nightmare ;)

I’d like to promote the use of ng-bind:
http://docs.angularjs.org/api/ng.directive:ngBind
tane.piper 1854 days ago. link 1 point
Oh yea, I wouldn't use it in production :)  It was more a case of I was prototyping something and I didn't want to switch context but just plough on through the code.

But yea, ngBind is a good idea
tane.piper 1854 days ago. link 1 point
This is also a problem with ExpressJS - pretty much every template language available, with the exception of Jade, uses {{ }} tags themselves.

Another solution I came up with (ugly but good in a tight squeeze) is to use the HTML number:

&#123;{variable_name}}

This will ensure it's not parsed on the server side, and output for Angular in the client.