Use $evalAsync() instead of using $apply() manually