npm install angular4-grid
Error =>: No provider for NgGrid!
map: {
'angular4-grid': 'node_modules/angular4-grid/bundles'
}
packages: {
'angular4-grid': { main: 'NgGrid.umd.js', defaultExtension: 'js' }
}
Module
import { NgGridModule } from 'angular4-grid';
@NgModule({
imports: [
...
NgGridModule
...
]
providers:[]
})