Currently, I am dealing with a nested buttonclick situation inside another buttonclick. Right now, my alert is working fine.
$scope.getid = function (order) {
$scope.chosen.id = order.id;
$scope.chosen.status = order.point;
$scope.start = function (time) {
alert(order.point)
}
};
I am looking to update the value of order.point and assign it a new value.
$scope.start = function (time) {
// Insert new value logic here
order.point = ('2')
}
Your help will be highly appreciated. Thank you in advance.