app.controller('webAddressController', [ '$scope', '$http', '$timeout', 'uiGridConstants', '$templateCache', "$cookieStore", function($scope, $http, $timeout, uiGridConstants, $templateCache, $cookieStore) { //鏌ョ湅鍥藉閮ㄥ缃戠珯 $scope.load = function(){ Common.send($scope, $http, { method : "POST", url : Common.webRoot() + "/epasp/website/webgl/webglController/searchWebAddress", showTips : false, success : function(reponse) { $scope.gjbwwz_List = reponse.data.gjbwwz_List; $scope.dfxhwz_List = reponse.data.dfxhwz_List; $scope.fzjgwz_List = reponse.data.fzjgwz_List; $scope.qt_List = reponse.data.qt_List; }, error : function(err) { // alert("err") } }); } $scope.load(); //鐐瑰嚮閾炬帴 $scope.openOutUrl = function(url){ var url = 'http://' + url; window.open(url, "_blank"); } } ]);