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
I am evaluating the 1.4.7 build for our project and I came across this issue.
If you have an element directive named 'myDirective', you cannot use it from html with "my:directive".
The other normalized names work: "my-directive", and "my_directive".
PS: I came across another issue as well, but I will investigate it separately. It's probably a documentation issue for you. It seems that the "jQuery 1.x" is not enough. We were using 1.7.x and it wasn't working. I then only tried with the version you have in your example (1.11.1) and it works fine.
The text was updated successfully, but these errors were encountered:
Kidlike
changed the title
colon normalization of element directives
colon normalization of element directives for v1.4.7
Feb 2, 2016
If the tag name starts with my: prefix then it is considered an XML namespace and must have corresponding namespace declaration on <html xmlns:my="ignored">
Which is what we had done, and it's working fine.
Otherwise you'd have to add a document.createElement('my-element'); for every element directive...
Which is a worse option in my opinion. The xmlns ignore approach is more universal.
Hi. Thanks a lot for your effort !
I am evaluating the 1.4.7 build for our project and I came across this issue.
If you have an element directive named 'myDirective', you cannot use it from html with "my:directive".
The other normalized names work: "my-directive", and "my_directive".
Doc reference: https://code.angularjs.org/1.4.7/docs/guide/directive#normalization
PS: I came across another issue as well, but I will investigate it separately. It's probably a documentation issue for you. It seems that the "jQuery 1.x" is not enough. We were using 1.7.x and it wasn't working. I then only tried with the version you have in your example (1.11.1) and it works fine.
The text was updated successfully, but these errors were encountered: