Conver ng-show to ng-if for faster rendering