changing compressing to work with angular.