adding script tags but directives not registered
drawing component content