Angularjs on a symfony2 application

前端 未结 15 1735
面向向阳花
面向向阳花 2020-12-12 09:55

I\'m working on a SF2 application that uses a lot of javascript on the front end.

SF2 provides me a good way of building a nice REST app, manage my database with doc

15条回答
  •  猫巷女王i
    2020-12-12 10:37

    You can simply escaped curly brackets like:

    Hello {{ '{{' }} name {{ '}}' }}
    

    and it will be parsed to the next HTML code:

    Hello {{ name }}
    

    You also can try to use left and right curly braces HTML coded character set, for example:

    { name }
    

    But I don't sure that it will be understand by AngularJS lib :).

提交回复
热议问题