fix flicker before angular loads (fixes #40)