How to get php json info in ionic

Hi everyone , i tried to do a php file wich is connected to my database made with (easyphp , mysql) and it returns correctly data in the form of JSON , But how can i connect my php file with ionic , how could i use it to verify my user login … any ideas please ???
NB : i can see the result of my php wich returns json through this url : localhost/json/professeur.php
but when i put the same url with get , it gives noth