title: how to save page inputs state in angular 2 typescript
body: <p>i`m beginner in ng2. i need to save my page state (for ex filter inputs for advanced search page) that after refresh page inputs state for page save.</p>
  
  <p>now i use localstorage and need better solution for this problem. this solution in some case not work as well. in this solution for each page assign a key and save page states in key-value localDB.</p>
  
  <p>thanks</p>