A simple social network based on AngularJS and Symfony2