JSFiddle - React, Tailwind, and code Playground

by dream apple

HTML

<div ng-app="MyApp" ng-controller="MyController">
    <div class="modal-content">
        <div class="modal-body" ng-bind-html="uploadInfo"></div>
    </div>
</div>

JavaScript

angular.module("MyApp", [])
    .controller("MyController", function ($scope, $sce) {
    $scope.uploadInfo = $sce.trustAsHtml('上传成功!<a ng-click="' +
        "quitTo('customer')" +
        '">点击</a>跳转到客户列表界面');
});