angular.module('originalModule').service('popupService', function(someOtherDataService) { var popupWindow = window.open('popupWindow.html'); popupWindow.mySharedData = someOtherDataService.importantData;}); Once your secondary … The syntax of the window.open method is given below: open (URL, windowName[, windowFeatures]) URL The URL of the page to open in the new window. Copy Code. This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL), How to pass Variable in window.open() in Javascript and Display it on another page, This The Title pretty much says it all. Why was the knitting needle or the distaff a symbol to show contempt in the Middle Ages? I coded $window.open() for new window in my javascript function. Because the angular scope is defined per DOM element. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. ... private void Button_Click(object sender, RoutedEventArgs e) { Window2 window2 = new Window2(); ... another way for WPF passing data between open windows. By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. This method takes the component we want to open as a first argument. I need to pass the $scope from my parent window to new window. The problem of passing object remains pramod -----Original Message----- From: Pramod Jain, INDENT [mailto:pramod at indent.org] Sent: Friday, July 05, 2002 1:28 PM To: javascript at LaTech.edu Subject: Passing Objects from one window …