filter bad expression for angular
#WEB-13113 fixed