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
The ng-view could have a yellow background to indicate that the view is not inside the app.
Since you can bootstrap your app from JavaScript, it shouldn't show a warning on the following:
<html><head></head><bodyng-view></body></html>
Because in that case, you don't have an ngApp on the page.
This might also go well with a warning when using two ngApp directives on the same page, since you cannot bootstrap Angular from the html if you have two ngApp directives on the same page (however, I don't know if this is something that is planned to change).
Just thought I would share. Thanks for the plugin!
The text was updated successfully, but these errors were encountered:
This is something that a friend of mine who is new to Angular got tripped up on for some time. I think it would be pretty easy to prevent this.
The ng-view could have a yellow background to indicate that the view is not inside the app.
Since you can bootstrap your app from JavaScript, it shouldn't show a warning on the following:
Because in that case, you don't have an ngApp on the page.
This might also go well with a warning when using two ngApp directives on the same page, since you cannot bootstrap Angular from the html if you have two ngApp directives on the same page (however, I don't know if this is something that is planned to change).
Just thought I would share. Thanks for the plugin!
The text was updated successfully, but these errors were encountered: