更新时间:2023-01-17 20:19:16
scope.ServerGet = function(){
alert( ' 已解雇');
// 调用控制器方法
scope.ServerGet = function () { alert('Fired'); // Calling Controller Method
http( {
方法:' GET',
url:serviceBaseLocal + ' Demo / Get?id = 5'
})。success(function(data){
http({ method: 'GET', url: serviceBaseLocal + 'Demo/Get?id=5' }).success(function (data) {
scope.Trips = data;
alert(JSON.stringify(
scope.Trips = data; alert(JSON.stringify(