Angular bind parameter is not working in hubspot

developertools
cos

#1

I have using Angular.js in my website, I’m trying to show the data from scope object. When I bind data using braces{{}} it doesn’t work. Also I tried to some calculation in binding data {{rate * price}}. It shows error in template and not able to save the file to publish.


#2

HI @jackjadish,

The double curly braces {{}} are used by the HubSpot content management system as part of the templating language which is why that’s throwing an error. I’ve run into this before and I was using Angular v1 so I was able to change the interpolation characters via $interpolateProvide as documented here: https://docs.angularjs.org/api/ng/provider/$interpolateProvider

-Zack