Write value from storage to html input element

hi there, recently i set up a Storage component for permanent app user data. currently, i’m trying to write the username from the storage to an input element on the actual page (upon the login page’s loading).

writing to the storage works just fine. the problem is that data from the storage can’t be set as values of global variables (at least i can’t find a way). also writing to the variable bound to an inputs ngModel didn’t seem to trigger an update for it earlier. is there a general way of writing from the storage to a variable?
also how can the value of a text input be updated from within the ts?