[ANSWERED] javascript – Pass html tag to angularjs variable from controller
Solution 1 : You can use ng-bind-html directive to bind html text (it will work also for simple text): <p ng-bind-html="user.errorText"></p> https://docs.angularjs.org/api/ng/directive/ngBindHtml If angular-sanitize.js is not included in the application,…