Save this page into localstorage when button is click in ionic

When button is click it will navigate to another page and save it as $urlRouterProvider.otherwise(’/newPage’);

I’m unclear as to what your question is.

This is my question , Please I need your help