angularjs неперехваченная ошибка: [$ инжектор: модульрр]

Я проверил этот AngularJS 1.2 $injector:modulerr, но это не решило мою проблему.

Вы можете найти мой пример здесь

http://jsbin.com/ziroq/1/edit?html,js,console

<html ng-app="app">

<head></head>

<body>
    <h1>example 8</h1> 
    <p>Changing views with routes and $routeProvider</p>
    <p>you need angular-routes.min.js file to use $routeProvider</p>

    <div ng-view></div>


    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular-route.min.js"></script>

<script>
  var app = angular.module('app', ['ngRoute']);

app.config(function ($routeProvider) {
            $routeProvider.when('list', {
                controller: MyController,
                templateUrl: '/example-08-list.html'
            });
 });

  </script>  

</body>

</html>

person Koray Güclü    schedule 09.09.2014    source источник
comment
Возможно controller: 'MyController', jsbin.com/vatunilumosa/1/edit   -  person PSL    schedule 09.09.2014
comment
да, это была проблема, спасибо!   -  person Koray Güclü    schedule 09.09.2014