I need to add a property to the js object array. This is how you can do it
this.products.forEach(function (element) { element.isActive = "false"; });
I am using forEach of the array