try this
var snacks = $cookies.get('fruitSnacks') + 1 ;
$cookies.put('fruitSnacks', snacks );
1
solved How do you increment a cookie value?
try this
var snacks = $cookies.get('fruitSnacks') + 1 ;
$cookies.put('fruitSnacks', snacks );
1
solved How do you increment a cookie value?