A simple social network implementation based on AngularJS and Symfony2