Is there a method in Angular 2 to achieve one-way data binding similar to what we did in Angular 1?
<!DOCTYPE html>
<html lang="en-US">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>
<div ng-app="">
<h4>Please change the text box value to see the scenario</h4;
<p>Name : <input type="text" ng-model="name"
ng-init="name='change me '"></p>
<h1>Hello {{name}}</h1>
<h2>One-way binding- </h2>
{{::name}}
</div>
</body>
</html>
How can we accomplish this with Angular 2? What are the alternative options available?
Note: I am looking for an updated value at the @component end without reflecting changes only on the HTML UI.