Angularjs on a symfony2 application

前端 未结 15 1709
面向向阳花
面向向阳花 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:45

    Searching through the web, I came across different solutions. You can, for example as said before, change the angular symbols. However, I preferred to keep it the most simple as possible by simply telling twig to output the angular symbols:

    {{ '{{entity.property}}' }}
    

    http://louisracicot.com/blog/angularjs-and-symfony2/

提交回复
热议问题