title: How to replace text on field after click Angular?
body: <p>I have HTML code with inline element:</p>
  
  <pre><code>&lt;span class="title" ng-click="update()"&gt;Rock&lt;/span&gt;
  </code></pre>
  
  <p>How to replace this element on input element after click for edit?</p>
  
  <p>And then after push enter on input return back span element?</p>
  
  <p>I tried with directives <code>ng-hide(), ng-show()</code>. But I wonder </p>