I'm using ASP.Net MVC/Web API behind an Angular 2 app. Everything is done in Angular EXCEPT logging in, which is a traditional MVC view and controller.
When I load up the login page everything works fine but the console is flooded with errors with this at the root:
The selector "app" did not match any elements
What is a simple and effective way to just prevent the Angular app from bootstrapping unless I'm on a certain controller or view, or prevent it from bootstrapping in a certain URL, or to generally make the flood of console errors go away on the login screen?