angular路由配置问题,路由注入失败

var myApp = angular.module('myApp', ['ngRoute']);

myApp.config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/business', {
templateUrl: 'admin/business.html',
controller: 'businessController'
}).
when('/title',{
templateUrl: 'admin/business.html',
controller: 'titleController'
})
otherwise({
redirectTo: '/business'
});
}]);

这个路由配置有什么问题吗,其他我都模仿另一个demo照着打代码,出错应该是路由注入问题