This fixed "$digest already in progress" on init