I tried to Implement Modal window. I find some sample from online and I Implemented.
Here I Added the Sample file for modal window. which is working fine.
what I exactly need is while open the model window I will call this function.
$scope.callType = {};
$scope.dataFormDialog = function (id) {
$scope.callType.id = id;
exDialog.openPrime({
scope: $scope,
template: '_Product.html',
controller: 'productController',
width: '450px',
//animation: false,
//grayBackground: false
});
};
Here I Am calling _Product.html and productController from sampleController.
Modal window Invoking from sampleController that time.
How to pass the $scope value of sampleController to productController?
Can any one help me on this?...