lick="openAlert()">Popup.alert()</button>
    <button ng-click="openConfirm()">Popup.confirm()</button>
    <button ng-click="openNotice()">Popup.notice()</button>
</div>

<script>
app.config(function (PopupProvider) {
    PopupProvider.title = '提示';
    PopupProvider.okValue = '确定';
    PopupProvider.cancelValue = '取消';
});

app.controller('testCtrl', function($scope, Popup) {
    $scope.openAlert = function() {
        Popup.alert('hello world', function () {
            console.log('ok');
   