从php中的angular url获取文件内容

I want to get file content from angular js url I fetched url from app.js file using route provider.I want to get file content for url 'http://localhost/project_folder/#/demoresponse'.I tried this to convert the page as pdf.How to get the file content for url 'http://localhost/project_folder/#/demoresponse'.Now I caught file not found error.

 app.js

  when('/demoresponse/', {
    templateUrl: 'partials/demo_response.html',

  })
php
  $html=file_get_contents('/#/demoresponse/');

Everything after the # is ignored and dont sent to the webserver. The part after # is only available on the client. As the server cant execute client side code with a simple get request, you couldn't get the result of your angularjs 'reponse'.