Chart window flashed up for second when window is first loaded. Used ng-cloak class. Added ng-cloak to app.css because angular is loaded late.