added ng-cloak directive to avoid template flicker