使用angular将数据附加到新窗口

时间:2015-08-13 06:46:01

标签: javascript angularjs

将数据附加到新窗口或页面但不起作用! 这是我的功能!

<div id="content" ng-controller="FlightController">
<h2 class="text-center">  Report Page</h2>
 {{scope.test}}
 {{$scope.test}}
 {{$scope}}
 {{scope}}
 {{test}}
 </div>

在html的新窗口中:

 $(".popup").popup({
    transparentLayer : true,
    gallery : true,
    galleryTitle : "<a href="http://www.jqueryscript.net/gallery/">Gallery</a>1 Title",
    imgaeDesc : true,
    galleryCounter : true,
    08
    imageDesc : true,
    09
    autoSize : false,

    boxHeight : 600,

    boxWidth : 500,

    shadowLength : 0,

    transition : 0,
        onOpen : function() {

    console.log("opened the box .popup");

    },

    onClose : function() {

    console.log("closed the box .popup");

    }



    });

但不起作用!只需打开新标签,数据就错过了!

0 个答案:

没有答案