I am starting with angularjs with ngStorage. I can save and display data successfully.
I display value as before
{{myobj.session}}
You can do a ajax request like this:
$http({
url: "urltopost.php",
method: "POST",
data: {
data: variable
}
}).success(function(response) {
console.log(response);
});
And on the backend you can get the variable like this
data
From there you can do everything you want with that variable, still I'm not sure what are you trying to achieve.