Remove calls to $apply

I'm not certain if this is the correct thing to do (especially
globally). But it solves a current issue I am having, and I will
re-visit later if not calling $apply becomes a problem.