ani-angular-2
ani-angular-2 copied to clipboard
Connecting to an API
How do I connect to an API based on the string value given in the environment config? Trying to create a login http request for token authentication.
Hi , I worked with this theme before , you can set API URL in tools/env/base.ts , than you can build you API url call by using Config.API , make sure you import { Config } from '../shared/index' in your ts file .