Working on solving some security errors since I\'m trying to dynamically embed youtube videos into my Angular 2 app. Found this answer here regarding the use of a Pipe to saniti
Pipes can't be made available globally. They need to be imported wherever they are used, the same as components or directives.
@NgModule({
declarations: [
SafeResourceUrl
],
imports: [
CommonModule
]
})
class SharedModule {
@NgModule({
declarations: [
CommonModule,
HomeComponent,
],
imports: [
SharedModule,
]
})
class HomeModule