Initial commit.

This commit is contained in:
smartapant 2016-04-20 16:32:12 +03:00
commit 6558ee2fc4
92 changed files with 3193 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/*
* These are globally available directives in any template
*/
import {provide, PLATFORM_DIRECTIVES} from 'angular2/core';
// Angular 2 Router
import {ROUTER_DIRECTIVES} from 'angular2/router';
// Angular 2 Material 2
// TODO(gdi2290): replace with @angular2-material/all
import {MATERIAL_DIRECTIVES} from './angular2-material2';
// application_directives: directives that are global through out the application
export const APPLICATION_DIRECTIVES = [
...ROUTER_DIRECTIVES,
...MATERIAL_DIRECTIVES
];
export const DIRECTIVES = [
provide(PLATFORM_DIRECTIVES, { multi: true, useValue: APPLICATION_DIRECTIVES })
];