Webscrapping with ionic

hello everyone, i have a php code to scrap information from some website… i want to use that php code with ionic. i dont know how to do that… i wonder if is it possible to use php with ionic ?

PHP is a server side language. Ionic uses clientside javascript. The two don’t and can’t be mixed.

Thnk you for your response. Then how can i perform web scrapping with ionic ?

Call this php code via AJAX and return the result via JSON.
Take a look at the Angular $http service:

Okay thenx a lot for your valuable answer