[cleanup] make it more simple when defining the directive component name