AngularJS Click out directive Symfony 2 bundle