JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.angularjs.org/angular-1.0.0rc4.min.js"></script>
<div ng-app>
<div ng-controller="Ctrl">
ng-bind-html: <span ng-bind-html="m.a.b"></span>
<br/>
ng-bind: <span ng-bind="m.a.b"></span>
<br/>
placeholder: <span>{{m.a.b}}</span>
<br/>
<button ng-click="del()">Delete</button>
</div>
</div>
JavaScript
function M() {
this.a = { b: '111' };
}
function Ctrl($scope) {
$scope.m = new M();
$scope.del = function() {
this.m.a.b = '';
// or this.m.a = {};
};
}