InDepth Guide for Customizing Angular Material Button
This guide is written for Angular Material version 13. I am soon going to launch an article series for latest versions. Learn more
Introduction
It is a very common need in almost all applications to modify the components provided by 3rd party librari...
shhdharmen.hashnode.dev12 min read
Hello Sir, I am trying to create button directive and its working, Thanks but I am also face a error
src_app_auth_login_login_module_ts.js:2 ERROR NullInjectorError: R3InjectorError(LoginModule)[MatButton -> MatButton -> MatButton]: NullInjectorError: No provider for MatButton! at NullInjector.get (core.mjs:8873:27) at R3Injector.get (core.mjs:9312:33) at R3Injector.get (core.mjs:9312:33) at R3Injector.get (core.mjs:9312:33) at ChainedInjector.get (core.mjs:14001:36) at lookupTokenUsingModuleInjector (core.mjs:4504:39) at getOrCreateInjectable (core.mjs:4552:12) at Module.ɵɵdirectiveInject (core.mjs:11784:19) at NodeInjectorFactory.ButtonDirective_Factory [as factory] (button.directive.ts:9:29) at getNodeInjectable (core.mjs:4758:44)
can you help me?