Deep Work from Cal Newport. I can really recommend it. Helps to understand what does it mean to really work deeply and to create something useful and creative.
Easiest way is to use following snippet.. console.log(angular.toJson(variable)); But in this case the scope variables are not serialized. To serialize scope etc use following snippet.. console.log(angular.mock.dump($scope)); Have fun!