so i have object that have many properties, i need to get all values and property names from that object, i'm not sure what is best and easiest way to do it. I already tried few methods but didn't had any luck with it
angular.forEach(array, function(value, key){
console.log(value);
});