Angular extensions powered by community.
@angular-contrib/core
@angular-contrib/common
Example of using <ng-host>
directive.
Installing package:
npm install @angular-contrib/common
Importing NgModule:
import { ContribNgHostModule } from '@angular-contrib/common';
@NgModule({
imports: [ ContribNgHostModule ]
})
class AppModule { }
Using features:
@Component({
template: `
<ng-host [ngClass]="{foo: true, bar: false}"></ng-host>
<p>Hello World!</p>
`
})
class AppComponent { }
- Fundamental functionalities only;
- Lib only (no private API usage);
- Angular feature requests only;
- Please do not raise feature request here, instead making that to Angular itself. All features are picked there;
- All features must be imported individuals due to possible future conflicts;
- Any feature once implemented by Angular will be deprecated here;