Set path alias in angular 4 application

Viewed 6708

Is there any way to set path aliases in Angular with TypeScript since putting path like

import { AuthService } from '../../../common/AuthService';
import { ContactService } from '../../../common/ContactService';

It is very confusing i.e. to remember the relative path URI. Is there any way to create path aliases and use them throughout the application, like browserify?

1 Answers
Related