json接口练习

//从网络上获取数据
$http.get(“http://result.eolinker.com/rR1VBtT56a6bb220c10b3d44b65b4787a8aec03c4ec32ce?uri=ThirdTest“)
.then(function(response){
// console.log(response);
$scope.menus=response.data;
});

            $scope.clearmenu=function(){
                $scope.menus=[];
            }

猜你喜欢

转载自blog.csdn.net/LG_lxb/article/details/81274341