Client rewrite with Angular