fix for double angular initialisation, and dissapearing header