This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
module.directive('FirstLetterCapitalized', ...) does not work and does not log an error. #11109
Closed
Description
//app.js
angular.module('myModule', []).directive('MyDirective', function() {
console.log('Hello World!');
/* .... make a directive .... */
});
<!--- index.html -->
<my-directive></my-directive>
This produces absolutely zero output on the console. Changing the directive name to start with a lower case letter fixes the problem. IMO, it should either log an error that I capitalized the first letter, or just work.