Instead of storing the session token in the window I added it as a parameter on the component. This is a cleaner way. This method can also be used to pass other parameters for example table name and sysid for a record to be retrieved by the angular app.
Instead of storing the session token in the window I added it as a parameter on the component. This is a cleaner way. This method can also be used to pass other parameters for example table name and sysid for a record to be retrieved by the angular app.