src/country-picker.config.ts
Properties |
baseUrl |
baseUrl:
|
Type : string
|
filename |
filename:
|
Type : string
|
import { InjectionToken } from '@angular/core';
export const COUNTRY_PICKER_CONFIG = new InjectionToken<CountryPickerConfig>('countrypicker.config');
export interface CountryPickerConfig {
baseUrl: string;
filename: string;
}
export const COUNTRY_PICKER_CONFIG_DEFAULT: CountryPickerConfig = {
baseUrl: 'assets/',
filename: 'countries.json',
};