what is the different between $apply and $digest