As you know, both angular and twig has common control construction – double curly braces. How can I change default value of Angular?
I know that I can do it in Twig, but in some projects I can’t, only JS.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can change the start and end interpolation tags using
interpolateProviderservice. One convenient place for this is at the module initialization time.https://docs.angularjs.org/api/ng/provider/$interpolateProvider