refactored template variables

This commit is contained in:
Art Lowel
2017-10-27 17:57:28 +02:00
parent 4628d7731f
commit ce330fcb47
22 changed files with 219 additions and 173 deletions

View File

@@ -30,6 +30,7 @@ import { SearchResultListElementComponent } from '../object-list/search-result-l
import { SearchFormComponent } from './search-form/search-form.component';
import { WrapperListElementComponent } from '../object-list/wrapper-list-element/wrapper-list-element.component';
import { ViewModeSwitchComponent } from './view-mode-switch/view-mode-switch.component';
import { VarDirective } from './utils/var.directive';
const MODULES = [
// Do NOT include UniversalModule, HttpModule, or JsonpModule here
@@ -74,6 +75,10 @@ const ENTRY_COMPONENTS = [
SearchResultListElementComponent
];
const DIRECTIVES = [
VarDirective
];
@NgModule({
imports: [
...MODULES
@@ -81,12 +86,14 @@ const ENTRY_COMPONENTS = [
declarations: [
...PIPES,
...COMPONENTS,
...DIRECTIVES,
...ENTRY_COMPONENTS
],
exports: [
...MODULES,
...PIPES,
...COMPONENTS
...COMPONENTS,
...DIRECTIVES
],
entryComponents: [
...ENTRY_COMPONENTS