do .() to update model outside angular event cycle