angularjs 两个页面相互以前传值

 a.htmlhtml

{{pt_type}}spa

<a ng-href="addnews.html#/?pt_type=1">新增</a></span>htm

 

b.htmlio

{{pt_type}}查询

   <span> <a ng-href="background.html#/?pt_type=1">查询</a></span>scope

 

 

js:co

 $scope.pt_type = $location.search().pt_type;background

相关文章
相关标签/搜索