Angular code simplicity with inject
Feb 2, 2023 · 2 min read · The feature The angular team in version 14 introduced the inject method to play with dependency injection without needing to add a constructor. Here is an example of a dummy service that is injected: import { Injectable } from "@angular/core"; import...
Join discussion