how to use angular service in plain class code example Example: angular import service import { <service name>Service } from '../<service path>';