Console log



examples/angular/console_log.js
angular.module('DemoApp', [])
    .controller('DemoController', function() {
        console.debug("Some debug");
        console.info("Some info");
        console.log("Some log");
        console.warn("Some warning");
        console.error("Some error");
    });

examples/angular/console_log.html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport"
     content="width=device-width, initial-scale=1, user-scalable=yes">
  <script src="angular.min.js"></script>
  <script src="console_log.js"></script>
</head>
<body ng-app="DemoApp" ng-controller="DemoController">
 <h1>Open the console!</h1>
 
</body>
</html>