add localStorage
edit using pagedown. http://stackoverflow.com/questions/20908748/google-pagedown-angularjs-directive