I have the following code:
<div class="panel panel-default">
    <div class="panel-heading"><strong>Parameters</strong>
    </div>
    {{ctrl.Params | json}}
    <br>
    <div>
        <span class="glyphicon glyphicon-info-sign" ></span>      
    </div>
</div>
Now, what I want to do is print the entire JSON contained in ctrl.GlobalCFTParams in a pretty JSON format. What's happening right now is, it is getting displayed in a continuous fashion. Is there some filter or plugin I can use for this? Thanks! 
https://codebeautify.org/jsonviewer - JSON beautified by this link is the kind of JSON I want to print on UI.
 
    