Framework CRUD Silex + AngularJS