update angular-scope post