adding cloak directive to hide while loading