$http({method: 'GET', url: 'puth/vars&token=' + token}). success(function(data, status, headers, config) { console.log(data); });