Added data objects to controller, connected the to html through scope