difference between ngx-bootstrap and ng2 bootstrap?

Since Angular2 is released, many components are published as npm modules and most them have prefix – ng2- or angular2- like ng2-bootstrap, angular2-tags-input. After releasing Angular4, all those node modules were faced with serious problem – “Do we have to be renamed to ng4 or angular4???” Here is an answer written by Igor Minar from … Read more

Angular 2 unit testing – @ViewChild is undefined

I think it should work. Maybe you forgot to import some module in your configuration. Here is the complete code for test: import { TestBed, ComponentFixture, async } from ‘@angular/core/testing’; import { Component, DebugElement } from ‘@angular/core’; import { FormsModule } from ‘@angular/forms’; import { ExampleComponent } from ‘./test.component’; import { TimepickerModule, TimepickerComponent } from … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)