persisiting data in the browser with ng-submit