How can I deal with the conflict between the tornado template and the {} expression of angular. js?

Source: Internet
Author: User
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: Angular supports http://docs.angularjs.org/api/ng.%24interpolateProvider with $ interpolateProvider custom separator from 1.0

Angular native supports custom delimiters, while some backend template languages do not support custom delimiters, which may be customized on Angular. Although there are various hack enable the front and back end to use {} as the separator, this makes the front and back end code more difficult to identify, it is difficult to maintain, so it is not recommended to use the same separator in the back end template and mixed.

      

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.