In this example the "name" is the model name and is bound to the textbox and span as ng-model="name". so that means as you type in the textbox, the same textbox text will be updated in the span element. By default, the value of name model is "Example" which is added like $scope.name = 'Example'
Let's see the example: