rpiambulance / website

RPI Ambulance's website—a work in progress
http://rpiambulance.com/
3 stars 13 forks source link

do not show welcome line in header until angular loads #116

Closed MasterOdin closed 3 years ago

MasterOdin commented 3 years ago

This fixes the flicker of Welcome, {{user}}! in the header while angular loads. It uses the standard ngCloak directive to accomplish it.

Now, for a user that is not logged in, nothing will be shown, and for a user that is logged in, it will show the welcome line.