Commits
Giuseppe Digilio authored 11a21708989
1 - | import { CommonModule } from '@angular/common'; |
2 - | import { NgModule } from '@angular/core'; |
3 - | |
4 - | import { GoogleRecaptchaComponent } from '../../shared/google-recaptcha/google-recaptcha.component'; |
5 - | import { GoogleRecaptchaService } from './google-recaptcha.service'; |
6 - | |
7 - | const PROVIDERS = [ |
8 - | GoogleRecaptchaService, |
9 - | ]; |
10 - | |
11 - | const COMPONENTS = [ |
12 - | GoogleRecaptchaComponent, |
13 - | ]; |
14 - | |
15 - | @NgModule({ |
16 - | imports: [CommonModule, COMPONENTS], |
17 - | providers: [PROVIDERS], |
18 - | exports: [COMPONENTS], |
19 - | }) |
20 - | |
21 - | /** |
22 - | * This module handles google recaptcha functionalities |
23 - | */ |
24 - | export class GoogleRecaptchaModule {} |