Wired up Angular.
Transform JSON before returning to client