[spring] angular rewrite