I have an angularjs template where some of the ngModel variable are empty. They are all attached to a html element. I am very confused as to how to create an angularjs element that all this html elements would inherit so that if a variable is empty or does not have anything inside its content then it should display a default content. This is what i have done currently.
<h3 ng-bind="name">Student's name</h3>
<p ng-bind="description"> More about the programme</p>
<h2 ng-bind="title">Details about the programme for the whole years</h2>
So instead of this area been empty because there is nothing there I would want it to display the default text shown. I think it is a drirective matter but I am not really that good with it