custom angular directive and w3c validation errors

100 views
Skip to first unread message

angus...@gmail.com

unread,
May 27, 2015, 9:40:33 AM5/27/15
to ang...@googlegroups.com
Hi 

I have a custom directive on my page and it is causing the w3c validatior to issue errors

my sample directive is as follows

 <sga-modal-popup template-url="'app/views/login.tpl.html'"></sga-modal-popup> and the error I am getting is 

line 53 column 75 - Error: Element sga-modal-popup not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

What do I need to add to the directive to get it to pass the w3c validator.

Thanks in advance for any suggestions

Message has been deleted
Message has been deleted

Mo Moadeli (CREDACIOUS)

unread,
May 27, 2015, 1:48:51 PM5/27/15
to ang...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages