angular-bootstrap-show-errors icon indicating copy to clipboard operation
angular-bootstrap-show-errors copied to clipboard

Use prefix for directives to avoid namespace collisions

Open davestaab opened this issue 10 years ago • 1 comments

From the angular docs:

Best Practice: In order to avoid collisions with some future standard, it's best to prefix your own directive names. For instance, if you created a <carousel> directive, it would be problematic if HTML7 introduced the same element. A two or three letter prefix (e.g. btfCarousel) works well. Similarly, do not prefix your own directives with ng or they might conflict with directives included in a future version of Angular.

See the Creating Directives section of the Angular Docs.

davestaab avatar Aug 10 '15 15:08 davestaab

Also, your package name ui.bootstrap.showErrors seems to imply you are associated with the Angular ui project. It doesn't appear you are and this seems misleading.

Sorry to sound so negative. Great job on this and great blog post explaining it. Very helpful. :+1:

davestaab avatar Aug 10 '15 15:08 davestaab