Editor rewrite angular