Decode HTML entities for ng-model
angularjs
Solution
I think you need to use ngSanitize which use to parser html.
<script src="angular.js">
<script src="angular-sanitize.js">
then include sanitize module in your app
angular.module('app', ['ngSanitize']);
refer : https://docs.angularjs.org/api/ngSanitize
Problem
I've got a string with HTML entities, and need to decode it on the level of the controller for it to display correctly in an input. Is there an equivalent of ng-bind-html on the controller level? ``` $scope.create.name = 'Tobias's team from "Prague"'; <input type="text" ng-model="create.name" /> ```