Accessing data from flask server with angular controller.