angular console log object code example Example: cosnsole.log without obj object console.log(JSON.stringify(myObject, null, 4));