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/');