phoenixwizard
phoenixwizard

Reputation: 5209

Angularjs not loading on chrome

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

Upvotes: 0

Views: 1283

Answers (1)

Ashish
Ashish

Reputation: 21

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 -

  1. Instead of using {{model element}}, you can use ng-bind = "model element".

  2. Use ngClock directive which will prevent the raw data from displaying.

Upvotes: 1

Related Questions