Initially, I utilized angular expressions {{value}}
to present values within elements. However, upon noticing that unrevealed expressions continue to display on the front end during loading delays, I switched to using ng-bind
.
<div>
<h1>Hello <span ng-bind="name"></span></h1>
</div>
By opting for ng-bind instead of {{ }}
, it effectively prevents unrendered {{ }} from appearing, replacing them with empty rendered elements instead.
However, now I am encountering a similar issue with an input placeholder
<input type="text" ng-model="name1" placeholder=" Welcome {{name}} . Enter your question" ></input>
The problem persists during loading delays. The presence of curly braces is unnecessary at such moments. So, how can this problem be rectified?