PHP Slim framework along with angularjs as frontend MVC