Validate code html of controller