Ken Barlow Ken Barlow - 1 year ago 67
AngularJS Question

Variable 'name' flashing at page load

I'm new to angular and I'm working through some tutorials, but can't seem to find out how to get a variable {{ name }} to quit flashing right before page load... Has anyone run into this problem before?

{{ name }} shows for a split second and then goes away. Just trying to get it to not show for a split second.

enter image description here

Thanks in advance!

Answer Source

You can also use ngcloak to suppress the html templates output before the actual binding occurs.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download