structuration of angular code