Angular 6 Error “NullInjectorError: No provider for Router!”
问题 I'm currently working on a project where I need the user to fill out an angular form and then send it to a route in my backend to process the data. The backend is in ASP.NET and I already have a functional form in HTML that's working : <body> <h2 style="text-align:center">Push notification test</h2> <form style="align-content:center" action="SendPushNotification" method="post"> <div> <fieldset> <legend> Informations </legend> <label> Notification name : </label> <input name="notificationName"