change scope.watch to scope.apply, ipad motions do not modify firebase