In this example we have two checkboxes for hobbies one for reading news paper and other for play cricket, we bind the values of these two checkboxes with span tag using the
ng-bind-template directive and also by
ng-bind directive with another span tag. When we bind the values of the checkboxes using
ng-bind-template directive we bind both the values with one span tag and for
ng-bind directive we bind the values with two different span tags.