angular - Angular2: Define a global variable and use it across the application -
in angular 2 application, in index.html, getting logged in user information parent application.
var userid = parent.window.userid i need append user id api calls. can define property globally , assign value here.
Comments
Post a Comment