Slim php + angularjs