<span>{{pstCtrl.doctorProfile.boardCertification ? === 'Yes' : $yes.display-block}}</span>
<span class="yes">Yes</span>
span.yes {
display:none;
}
In my Angular.JS project, the code snippet above is demonstrating how I am attempting to show the block
element of my span div with the class yes
if the data field boardCertification
has a value of yes
.