title: How to show the text with Line Breaks
body: <p><a href="https://i.stack.imgur.com/fxhj6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fxhj6.png" alt="enter image description here"></a></p>
  
  <p>I need to display the text with the line breaks, this is the script</p>
  
  <pre><code>&lt;script&gt;
      var app = angular.module('MyApp', []);
      app.controller('Ctrl', function ($scope) {
          console.log('Controller is executed');
          $scope.btnClick = function () {
              console.log($scope.desc);
          }
          $scope.ShowData = function () {
              $scope.text = $scope.desc;
          }
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>And this is the html code</p>
  
  <pre><code>&lt;body ng-controller="Ctrl"&gt;
  &lt;form&gt;
      &lt;textarea ng-model="desc" cols="105" rows="15"&gt;&lt;/textarea&gt;
      &lt;button ng-click="btnClick()"&gt;Submit&lt;/button&gt;
      &lt;button ng-click="ShowData()"&gt;Show&lt;/button&gt;
  &lt;/form&gt;
  &lt;div ng-bind="text"&gt;&lt;/div&gt;
  </code></pre>
  
  <p></p>