app.controller('zlztController', [ '$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/searchZlztData", showTips : false, success : function(reponse) { $scope.zlztList = reponse.data.zlztList; $timeout(function () { loadZtzlStyle(); }, 1000); }, error : function(err) { } }); } $scope.load(); //鐐瑰嚮閾炬帴 $scope.openOutUrl = function(url){ var url = 'http://' + url; window.open(url, "_blank"); } } ]);