$apply error fixed, changed by $timeout