What's wrong on this?
这有什么不对?
var modulo = angular.module('SWAApp', []);
modulo.controller('SWAAllocationController', ['$scope','$http', function RunSWAAllocation($scope,$http) {
$scope.LaunchAllocation = function RunSWAAllocation($scope, $http) {
$http.get('/MP3_SIOP/WS/SWAService.svc/PostSWAAllocation')
.success(function (data) {
pvt_BindHeaderData($scope, data);
alert("SWA Allocation OK");
})
.error(function (data, status) {
alert("Si è verificato un errore nel dei dati!")
});
}
}]);
var modulo =