ANGULAR 2 ROUTER NOT WORKING : can someone tell me why the navigation is not working?
when i click on the button nothing happened but work.But if i use
<router-outlet></router-outlet> it work 


    This is my my app.module.ts
        @NgModule({
          declarations: [
            AppComponent,
            DashboardComponent,
            LoginComponent,
            SettingsComponent,
            RegisterComponent,
          ],
          imports: [
            BrowserModule,
            AngularFireDatabaseModule,
            AngularFireAuthModule,
            FormsModule,
            AppRoutingModule,
            AngularFireModule,
        
          ],
          providers: [],
          bootstrap: [LoginComponent]
        })
        export class AppModule {
          constructor() {
            firebase.initializeApp({
             
            });
          }
        }
       