var app = angular.module('plunker', []);
var statuses = [];

var checkPageIsRendered = function () {
  statuses.push(document.documentElement.outerHTML.indexOf("World") >= 0);
};

app.controller('MainCtrl', function($scope) {
  $scope.name = 'World';
  
  $scope.$on('$viewContentLoaded', function () {
      checkPageIsRendered();
      
      setTimeout(function () {
          checkPageIsRendered();
          document.write(statuses.join(' '));
      }, 100);
  });
});

app.config(['$routeProvider', function ($routeProvider) {
    $routeProvider.otherwise({
        templateUrl: 'main.html',
        controller: 'MainCtrl'
    });
}]);
<!doctype html>
<html ng-app="plunker" >
<head>
  <meta charset="utf-8">
  <title>AngularJS Plunker</title>
  <script>document.write("<base href=\"" + document.location + "\" />");</script>
  <link rel="stylesheet" href="style.css">
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.js"></script>
  <script src="app.js"></script>
</head>
<body>
  <div ng-view></div>
</body>  
</html>
/* Put your css in here */
.red {
  color: red
}
Hello {{name}}!