docs(View): correct templateUrl and template definition

Fixes #3444
Closes #3447
This commit is contained in:
Dima Kuzmich 2015-08-02 10:30:00 +03:00 committed by Pawel Kozlowski
parent 12e4c738c9
commit 1beaf81e98
1 changed files with 2 additions and 2 deletions

View File

@ -37,14 +37,14 @@ export {ViewEncapsulation} from 'angular2/src/render/api';
@CONST() @CONST()
export class View { export class View {
/** /**
* Specifies an inline template for an angular component. * Specifies a template URL for an angular component.
* *
* NOTE: either `templateUrl` or `template` should be used, but not both. * NOTE: either `templateUrl` or `template` should be used, but not both.
*/ */
templateUrl: string; templateUrl: string;
/** /**
* Specifies a template URL for an angular component. * Specifies an inline template for an angular component.
* *
* NOTE: either `templateUrl` or `template` should be used, but not both. * NOTE: either `templateUrl` or `template` should be used, but not both.
*/ */