third commit - added controller angular controller to interact with api