Am 08.08.2016 um 06:36 schrieb [email protected]:
This seems inconsistent to me. Why would we not match the file name, selector, and class name?
Yes, that would be more consistent, but since the selector is the name of a custom element tag, which should not collide with existing html tags or third-party custom elements, it is custom to prefix it with she name of your app and a dash. That's why it is called "toh-..." in the style guide. "my-" is a bit lame, though.
As a side note, I also find it sometimes confusing when tutorials make names too generic or consistent because then it can be unclear whether this consistency is mandatory or not, and which name refers to which entity, since you're just learning the concepts.
-- Christoph -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
