I need to pass the $scope from my parent window to new window. I coded $window.open() for new window in my javascript function. But in new window, I am not getting the $scope. Below I given the code.
1) JS File
$scope.mainPageNewsArchive = data.newsArchiveList;
var myWindow1 = $window.open("resources/partials/NewFile.html", "News Archive", 'toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=1,width=650, height=550,left = 300,top=100');
2) NewFile.html
<div>
<table border="0" cellspacing=0 cellpadding=2 width="100%" id="tkm">
<tbody>
<tr x-ng-repeat="newsArchive in mainPageNewsArchive track by $index">
<td align=left >{{newsArchive.createDate}}</td>
<td> </td>
<td align=left><a href="" ng-click="showNewsItem(newsArchive.id)" title="Click for more detail">{{newsArchive.title}}</a>
</td>
</tr>
</tbody>
</table>
</div>