Some of our app users report seeing handlebar curly braces when they go to the page. This has been reported by people on chrome (versions vary from 26 to 31). It is happening to a few of the users. Is there any known issues? The users just send a screenshot with the visible handlebar braces. The app is using Angular JS version 1.0.5
-
@DROPtableusers No. It seems JS was not disabled.phoenixwizard– phoenixwizard2014-01-01 17:42:17 +00:00Commented Jan 1, 2014 at 17:42
-
Are you using a CDN for the Angular files? Are you using an alternative (not 80) port number for your website? Does the page fail completely, or is it a 'flash' of handlebars content?robertklep– robertklep2014-01-01 17:48:40 +00:00Commented Jan 1, 2014 at 17:48
-
@robertklep : No we are not using any cdn. It is loaded locally from file. No alternative port, we use 80. The Angular part fails completely and flashes handlebars.phoenixwizard– phoenixwizard2014-01-01 18:06:00 +00:00Commented Jan 1, 2014 at 18:06
-
Care to post the link?paulmelnikow– paulmelnikow2014-01-01 20:48:12 +00:00Commented Jan 1, 2014 at 20:48
Add a comment
|
1 Answer
This might be the slow loading of page and Angular displaying the template in raw state as it hasn't compiled the template yet.
As per the official documentation, you have two options to avoid this -
Instead of using
{{model element}}, you can useng-bind = "model element".Use
ngClockdirective which will prevent the raw data from displaying.
1 Comment
phoenixwizard
Can be a case. But slow connection is not possible. The error is faced by people on broadband as well.