We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

disable volt interpreter so I can use angularjs interpreter for {{{% endraw %{% raw %}}}}

I found out that volt is messing with my angularjs model tags.

In this question: https://stackoverflow.com/questions/13671701/angularjs-twig-conflict-with-double-curly-braces

An person says:

Another twig-specific solution for moustache madness is to use the verbatim tag; e.g:{% verbatim %}{{ angular_var }}{% endverbatim %} to preserve your moustaches for AngularJS:

How can I do this in volt?

If you look here:


I think you'll find the answer you need.


AngularJS may change delimiters. You can change both start and end symbol which angularjs should convert.

AngularJS has $interpolateProvider who can do that for you. https://docs.angularjs.org/api/ng/provider/$interpolateProvider#startSymbol I have used something like that " |: .... :| ".