Replace `addIgnoreUrlExpression` with something more Angular like. This method structure has been copied from `$httpBackend`.