how to declare global variable in angular 6