added preloading spinner and ng-cloak