This is my ctrl:
app.controller(\'ctrl\', function ($window, $scope) {
$scope.initData = [
{
firstName: \"John\",
lastNa
In Simple Steps in matters how you need your page to refresh using afunction to refresh comes handy and effective for me and keeps the locaStorage values set.. i used.... the function below by calling it as load() and it worked for me
function load()
{
console.log("loading")
setTimeout("window.location.assign('samepage.html');", 1000);
}