rewrote angular urls to appear as they were