Angularjs: Able to log data but cannot display

     

I am attempting to create a form that upon clicking submit calls a function that will post to a php page (which runs a query) then displays those results on the page.


If I call said function in my controller on load I get my expected result(data presented in html table in a modal). However if I call that function upon clicking submit. I can log the data result