Why doesn't the latest version of angular support global controller functions?
问题 With the AngularJs new version 1.3.0 don't but with 1.2.9 the old version work. Whats the new in the new version ? <html ng-app> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript" src="angular.min.js"></script> <script type="text/javascript" src="jquery.js"></script> </head> <body> <div ng-controller = "MyController"> <h1>{{author.name}}</h1> <p>{{ author.title }}</p> </div> <script> function MyController($scope) { $scope.author = { 'name': 'Nagy Dávid', 'title':