Rewrite all non static requests to index and let angular do the work