title: How to store token in Local or Session Storage in Angular 2?
body: <p>I want to use Local or session storage to save authentication token in <strong><code>angular 2.0.0.</code></strong> I  use <strong><code>angular2-localstorage</code></strong> but it works only <strong>angular 2.0.0-rc.5</strong> and when I used it in 2.0.0 it through me <strong>Type</strong> error. I want to use default local storage of Angular 2.0.0.</p>