Display {{user.name}} directly instead of zhangsan What causes this?
I also encountered this problem, and it is probabilistic. Sometimes the whole article is {{user.name}}. How did I solve it in the end?
Look at the terminal for any errors, it must be something you wrote wrong. Or you didn't specify ng-app.
First make sure you don’t use {{}} in style
Additional usedata-ng-bind=xxxxx来代替{{xxxxx}} hope it works
data-ng-bind=xxxxx
{{xxxxx}}
angular version change
Finally it was found that it was caused by a js plug-in conflict
I also encountered this problem, and it is probabilistic. Sometimes the whole article is {{user.name}}. How did I solve it in the end?
Look at the terminal for any errors, it must be something you wrote wrong. Or you didn't specify ng-app.
First make sure you don’t use {{}} in style
Additional use
data-ng-bind=xxxxx
来代替{{xxxxx}}
hope it works
angular version change
Finally it was found that it was caused by a js plug-in conflict