Guest User

Untitled

a guest
Oct 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <smart-nav-tile-group>
  2. <radio-checkbox-group>
  3. <smart-nav-tile>
  4. <radio-checkbox-wrapper>
  5.  
  6. @Inject(forwardRef(() => RadioCheckboxGroupComponent)) public inputGroup: RadioCheckboxGroupComponent
  7.  
  8. SmartNavTileComponent.html:2 ERROR Error: StaticInjectorError(AppModule)[RadioCheckboxWrapperComponent -> RadioCheckboxGroupComponent]:
  9. StaticInjectorError(Platform: core)[RadioCheckboxWrapperComponent -> RadioCheckboxGroupComponent]:
  10. NullInjectorError: No provider for RadioCheckboxGroupComponent!
  11.  
  12. import { Component, OnInit ,forwardRef,Inject} from '@angular/core';
  13. import { HelloComponent } from '../hello.component';
  14. @Component({
  15. selector: 'app-demo',
  16. templateUrl: './demo.component.html',
  17. styleUrls: ['./demo.component.css'],
  18. providers:providers:[{provide:RadioCheckboxGroupComponent,useValue:RadioCheckboxGroupComponent}]
  19. })
Add Comment
Please, Sign In to add comment