Adding the ng-cloak directive to stop flashing the template on the screen.