I would like to suggest an angular-ish way to inject web3 library in your Angular 7 application.
UPDATE : The code has been updated to reflect how MetaMask…