I'm given the following code
<h2>{{ownername}} Online Bookshop</h2>
<input placeholder="type your name" ng-model="ownername" >
Which outputs 'Online Bookshop'
and if I input 'Fred' it outputs 'Fred Online Bookshop'
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?
EG
Online Bookshop when input is empty, and
Fred's Online Bookshop when input contains 'Fred' string