Two-way data binding - It is used to synchronize the data between model and view. It means, any change
in model will update the view and vice versa. ng-model directive is used for two-way data binding.
One-way data binding - This binding is introduced in Angular 1.3. An expression that starts with double colon (::),
is considered a one-time expression i.e. one-way binding.
Two-Way and One-Way data binding Example
<div ng-controller="MyCtrl">
<label>Name (two-way binding): <input type="text" ng-model="name" /></label>
<strong>Your name (one-way binding):</strong> {{::name}}<br />
<strong>Your name (normal binding):</strong> {{name}}
</div>
<script>
var app = angular.module('app', []);
app.controller("MyCtrl", function ($scope) {
$scope.name = "Shailendra Chauhan"
})
</script>