translated on angular.js
simple saving in localStorage
bug: clipped last char