var getSnInfo = function(){
var url = Api.getInfo,
sn = $scope.data.id;
console.log(sn)
$http({
method: 'GET',
url: url,
params: sn,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
}).then(function(response){