Help me, I'm new to ionic and I'm making an app to get information in my php system, I'd like to know how I could do this

my provider

import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';

  Generated class for the BuscarProvider provider.

  See for more info on providers
  and Angular DI.
export class BuscarProvider {

  constructor(public http: Http) {
    console.log('Hello BuscarProvider Provider');
  getLatesBuscar() {
    return this.http.get("http://localhost/projetoagenda/AppSearch.php");

page to display the search

    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
<ion-content padding id="page10">


        <ion-input type="text" placeholder="Digite seu CPF"></ion-input>
      <button ion-button type="submit">Pesquisar</button>




$nome_pesquisado = $_POST['pesquisar'];
if($_POST['pesquisar'] == ''){
	echo "VocĂȘ digitou nada no campo de pesquisa.";

$select = $pdo->query("SELECT * FROM agenda WHERE nome LIKE '%$nome_pesquisado%' OR cpf LIKE '%$nome_pesquisado%'"); 
$rowCount = $select->rowCount();
if($rowCount == 0){
	echo json_encode(array('erro' => 'Nenhum usuario cadastrado com esse CPF. Ligue para agendar sua consulta (11)2204-2118'));
	$dadosBusca = $select->fetch(PDO::FETCH_OBJ);

	echo json_encode(array('sucess' => $dadosBusca));