File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change 1
- # ` Angular utils library `
1
+ # Angular 4+ Utilities
2
2
3
- [ ![ Greenkeeper badge ] ( https://badges.greenkeeper.io/nglibrary/utils.svg )] ( https://greenkeeper.io/ )
3
+ Directives
4
4
5
- Set of utilities for Angular 4+
5
+ * [ Control info directive ] ( https://nglibrary.github.io/utils-documentation/control-info )
6
6
7
- # Quick Start
7
+ ...more to come soon!
8
8
9
- ``` bash
9
+ ### Install
10
10
11
+ ``` bash
11
12
yarn add @nglibrary/utils
13
+ ```
14
+ ### Import in your app
15
+
16
+ ``` ts
17
+ import { NgModule } from ' @angular/core' ;
18
+ import { AppComponent } from ' ./app.component' ;
19
+
20
+ import { UtilsModule } from ' @nglibrary/utils' ; // <---
21
+
22
+ @NgModule ({
23
+ declarations: [ AppComponent ],
24
+ imports: [
25
+ UtilsModule .forRoot ( /* global config */ ) // <---
26
+ ],
27
+ providers: [],
28
+ bootstrap: [AppComponent ]
29
+ })
30
+ export class AppModule { }
12
31
13
32
```
You can’t perform that action at this time.
0 commit comments