Skip to content
Advertisement

Tag: angular-template

Multiple directives asking for template on

Error: [$compile:multidir] Multiple directives [statbox, statbox] asking for template on: (On console) Inside index.html Inside dashboard.module.js Inside dashboard.component.js Inside statbox.component.js And inside app.js Inside dashboard.template.html Inside statbox.template.html What am I doing wrong and why do I get this multiple directives error? Whenever I comment out <script src=”js/dashboard/statbox.component.js”></script> from the index.html everything works but statbox controller is not getting loaded. (Full

Advertisement