sanitize angular rendering