Quote: var newScope = $scope.$new(); newScope.Products = $scope.Products; ngDialog.open({ template :' <select id="ddlProducts" name="ddlProducts" data-ng-model="ddlProducts" required="required"> <option ng-repeat="product in Products.ExtraProducts" value="{{product.ProductId}}">{{product.ProductsName}}</option></select>', className: 'ngdialog-theme-default', closeByEscape: true, $scope: newScope, plain: true });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)