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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I discovered this issue when I tried access the injector within my app. The use case was to manipulate my app interactively for debugging and testing purposes.
The ngApp directive is defined within a server-side template (thymeleaf) and to keep each template language clean I used the ngInclude directive to load a base template for my app.
... BUT it took a really long time to find the cause of this problem. The trap is that it's very likely that month go by after the initial setup of an app and the point where interactive debugging will be done.
Therefore the problem should be either fixed, or angular should warn if ngApp and ngInclude are used on the same element.