upgrade angular and adjust behaviour for sanitisation