Total beginner question (apologize in advance for the stupidity :( )

I am trying to learn how to develop apps using **ionic framework/angular**. 
I created a simple news feed (UI part of it anyway).

I then installed **MySQL**, **PHP** and **Apache** on my Mac (**MAMP**). I have created some tables and inserted some dummy data.

Now, I am completely lost on what kind of routine/procedure to write on my server, and what code to write in my **Angular** service so i can show the dummy data in my app? 

Basically, how do these two discreet "things" on my system know how to connect and exchange data?

I googled it for few days, but most tutorials don't seem to address this basic question.

I don't actually expect somebody to take me through the steps, but if you can **point me to some tutorials/resources on this**, it would be much appreciated.

Thanks in advance.