it is not needed there because it will get transitively installed by @angular/platform-browser we only need to declare this dependency in tsconfig.json because tsconfig.json's do not support transitive dependencies in this way.