2016-04-28 17:50:03 -07:00
|
|
|
import {Component} from '@angular/core';
|
2016-04-28 21:57:16 -07:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'my-comp',
|
|
|
|
template: '<div></div>',
|
|
|
|
})
|
|
|
|
export class MyComp {
|
|
|
|
}
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'next-comp',
|
|
|
|
templateUrl: './multiple_components.html',
|
|
|
|
})
|
|
|
|
export class NextComp {
|
|
|
|
}
|
|
|
|
|
|
|
|
// Verify that exceptions from DirectiveResolver don't propagate
|
|
|
|
export function NotADirective(c: any): void {}
|
|
|
|
@NotADirective
|
|
|
|
export class HasCustomDecorator {
|
|
|
|
}
|