Agular code cleaning : separating controller, service ...