We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016d5ab commit 210f779Copy full SHA for 210f779
examples/controller-name.js
100644
100755
@@ -3,7 +3,7 @@ angular.module('myModule').controller('MyController', function () {
3
// ...
4
});
5
6
-// example - valid: false, errorMessage: "The MyCtrl controller should follow this pattern\: /[A-Z].*Controller$/"
+// example - valid: false, errorMessage: "The MyCtrl controller should follow this pattern\: /^[A-Z][a-zA-Z0-9]*Controller$/"
7
angular.module('myModule').controller('MyCtrl', function () {
8
9
0 commit comments