angular - Restrict a pipe to be used in one component in a module -
in angular 2, have pipe used in 1 component , know how prevent sharing other components in same module.
i want ensure scope of custom pipe component want , not other components in same module.
it not possible, way restrict pipe 1 specific component use separate ngmodule
both pipe , component.
if want use component above, should export component can used in module.
Comments
Post a Comment