angular rewrite of sara