javascript - HTML tag in scope of angularjs - i need put <br /> tag in $scope.mytext in controller, how ? something $sce.trustashtml("<br />") should work. $sce.trustashtml() returns string safe use ng-bind-html. can read more here $sce.trustashtml vs. ng-bind-html Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment