You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
//app.jsangular.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.
The text was updated successfully, but these errors were encountered:
Directive names must start with a lower case letter.
Previously the compiler would quietly fail.
This change adds an assertion that fails if this is not the case.
Closes#11281Closes#11109
Directive names must start with a lower case letter.
Previously the compiler would quietly fail.
This change adds an assertion that fails if this is not the case.
Closes#11281Closes#11109
netman92
pushed a commit
to netman92/angular.js
that referenced
this issue
Aug 8, 2015
Directive names must start with a lower case letter.
Previously the compiler would quietly fail.
This change adds an assertion that fails if this is not the case.
Closesangular#11281Closesangular#11109
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: