angular service only for current conponent code example Example: angular import service import { <service name>Service } from '../<service path>';