在我的應用程序中,我試圖將對話框的文本輸入值更新到主控制器中。主控制器中的 $scope.dialogText設置爲對話框的文本輸入。 說,我在對話框中輸入pumpkin,然後按確定,我的應用程序必須顯示, Dialog box's text comment is pumpkin
相反,它總是顯示, Dialog box's text comment is
的jsfiddle是,http:
Here the Sample Link 我試着實現模態窗口。我從網上找到一些樣本,並且實施了。 在這裏我添加了模態窗口的示例文件。這工作正常。 我確實需要的是在打開模型窗口時我會調用這個函數。 $scope.callType = {};
$scope.dataFormDialog = function (id) {
$scope.callType.id = id;
exDi