Making sure ngInfiniteScroll is ignored on commits