Is there a way in Angular to clear All Local Storage or at least ones particular to the application through maybe ng build, or Angular deployment, or through Angular code itself? This inthrough in Chrome F12 Local Storage.
This is the code base, https://stackoverflow.com/a/43637348/14432516
localStorage.removeItem('currentProduct');
localstorage.clear();
However, I need to to Detect First Deployment in Angular. How can this be done?