Setup the angular controller and app config.