@Amidamaru Not sure I understand you correctly. Your API should respond with a JSON encoded data which can be easily parsed by Angular/2.
Are you returning a JSON encoded HTML table?
I am fetching the tables from the server using JSON and converted the files into a file. The html contains the records saved to the file.
I want to use AngularJS and do some pagination and ajax search. My question is, can Angularjs2 worked with this kind of html table that was using JSON ?
@Amidamaru You should be paginating the data using Laravel and returning JSON encoded data for the page you wish to view. Use Angular to format the response in a HTML table. If you use the Length Aware Paginator (https://laravel.com/api/5.3/Illuminate/Contracts/Pagination/LengthAwarePaginator.html) it will return additional information about total pages etc... which you can use on the Angular side.
Please or to participate in this conversation.