very simple example of angularjs + use of localstorage