title: AngularJs, ng-if to change text?
body: <p>I'm given the following code</p>
  
  <pre><code> &lt;h2&gt;{{ownername}} Online Bookshop&lt;/h2&gt;
   &lt;input placeholder="type your name" ng-model="ownername" &gt;
  </code></pre>
  
  <p>Which outputs 'Online Bookshop' </p>
  
  <p>and if I input 'Fred' it outputs 'Fred Online Bookshop'</p>
  
  <p>Without using jQuery, and doing things the angular way, how would I change the code so that a possessive apostrophe and the letter s were added when input is not empty?</p>
  
  <p>EG</p>
  
  <p>Online Bookshop  when input is empty, and</p>
  
  <p>Fred's Online Bookshop  when input contains 'Fred' string</p>