@hicoder/angular-cli
Version:
Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res
11 lines (9 loc) • 375 B
text/typescript
import { InjectionToken } from '@angular/core';
import { <%-moduleName%>_server_root_uri } from '../<%-moduleName%>-cust/<%-moduleName%>.tokens.value';
export const <%-ModuleName%>_SERVER_ROOT_URI = new InjectionToken<string>(
'<%-ModuleName%>_SERVER_ROOT_URI',
{
factory: (): string => <%-moduleName%>_server_root_uri,
providedIn: 'root',
},
);