Fixed angular init errors