Angular Directive Name: nur Kleinbuchstaben erlaubt?

Mein code:

app.directive('abcabc', function (){ alert('directive');}); //working

aber

app.directive('abcAbc', function (){ alert('directive');}); //not working !
app.directive('abc-abc', function (){ alert('directive');}); //not working !

Mache ich falsch?
Oder gibt es spezielle Namenskonventionen für Winkel-Richtlinie?

InformationsquelleAutor der Frage Zach | 2013-08-01

Schreibe einen Kommentar