Angularjs: Local storage contenteditable not saving