knockout.js Equivalents of AngularJS bindings ngModel on input[type=text]


Example

AngularJS code for two-way binding on a text input:

<input ng-model="ScopePropertyX" type="text" />

KnockoutJS equivalent:

<input data-bind="textInput: ScopeObservableX" type="text" />