http://w3facility.org/question/w3c-validation-with-directives-in-angularjs/
On Wed, May 27, 2015 at 7:10 PM, <[email protected]> wrote: > 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 > > -- > 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 http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
