I'm looking to open a new browser window with angular $scope data inside:
&l
Solution 1:
You can append to body compiled element with binding, something like
$compile('<div>{{var}}</div>')($scope)
or you can add html to body itself and compile it
$compile(angular.element($scope.window.document.body).html('{{var}}'))($scope);
Sample JSFiddle
Post a Comment for "Angularjs: Open New Window And Maintain Two-way Data Binding"