What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-08 23:25:01
how to make global variable in angular
Here is the simplest solution w/o Service nor Observer: Put the global variables in a file an export them. // // ===== File globals.ts // 'use strict'; export const sep='/'; export const version: string="22.2.2"; To use globals in ano... Add solution