Answer the question
In order to leave comments, you need to log in
Curly braces conflict in twig and AngularJS - how to resolve?
I use gulp-twig for templates in layout, there was a conflict due to curly braces of angular, which Twig does not understand when compiling and completes the task with errors.
Googled. Found it
angular.module("registerPageApp", []).config(function($interpolateProvider){
$interpolateProvider.startSymbol('//').endSymbol('//')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question