prevent template from showing before angular loads