Fix for angular 1.3 changes to filter digest.