4 ms·
Handling Conflicting Django & AngularJS Template Tags
- tanepiper 13y agoThis 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: {{variable_name}} This will ensure it's not parsed on the server side, and output for Angular in the client.
- redmattred 13y agoThat's a neat way to go about it