we're currently upgrading from Angular 1.2X to 1.4X and are experiencing a weird behavior change in terms of using filters.
I've made an example on plunkr: http://plnkr.co/edit/iVABuG5ApiwgyV6RRwQA?p=preview
.filter('convert', function($rootScope) {
return function(input) {
var out = parseInt(input) * $rootScope.convert_rate;
return out;
};
})
Basically, we're taking a value (e.g. 5) and multiplying it by a conversion rate, via a filter. The conversion rate is specified in a $rootScope variable.
In Angular 1.2X (check that Angular 1.2x is defined in index.html), the filter runs and the value updates when you change the conversion rate.
In Angular 1.5 beta, when the conversion rate is changed, the filter does not run and the value does not update.
Does anyone know why this happens?