It is considered best practice to have angular directive names contain a dash. (my-directive). This prevents collisions with any potential html elements that may be added to the spec in the future. The W3C has stated that they will not create any html elements or attributes (aside from data-) that contain dashes, so custom elements can use them safely.
Perhaps multi-select like similar plugins use? Or maybe ami-multiselect would be better?
It is considered best practice to have angular directive names contain a dash. (
my-directive
). This prevents collisions with any potential html elements that may be added to the spec in the future. The W3C has stated that they will not create any html elements or attributes (aside fromdata-
) that contain dashes, so custom elements can use them safely.Perhaps
multi-select
like similar plugins use? Or maybeami-multiselect
would be better?