Push the content of index.html in the BrokenStuff\application\views\application_view.php file.

Delete the index.html at the root directory

Previously :
Integrate CodeIgniter + CI RESTful Controller for the backend
Add 2 api methods :
-GET http://server/BrokenStuff/api/report/id/{id}/format/json
-GET http://server/BrokenStuff/api/reports/format/json
Edit rewriterule at the end of .htaccess if BrokenStuff is not your working directory