     });
    };

    $scope.openConfirm = function() {
        Popup.confirm('hello world', function () {
            console.log('ok');
        }, function () {
            console.log('cancel');
        });
    };

    $scope.openNotice = function() {
        Popup.notice('hello world', 3000, function () {
            console.log('ok')
        });
    }
});
</script>
<script id="show-source-code" src="./js/show-source-code.js"></script>
</body>
</html>