diff --git a/modules/angular2/docs/migration/kebab-case.md b/modules/angular2/docs/migration/kebab-case.md index 82ebf60c82..2298c9b32c 100644 --- a/modules/angular2/docs/migration/kebab-case.md +++ b/modules/angular2/docs/migration/kebab-case.md @@ -4,7 +4,9 @@ Angular2 templates are now case-sensitive and use camelCase in many places where Where you used to write: - +``` + +``` in order to: - bind to the `someEvent` event, @@ -13,7 +15,9 @@ in order to: You should now write: - +``` + +``` Notes: - while tag name are case sensitive, the best practice is to use dash case for component elements so that the browser @@ -28,135 +32,158 @@ Notes: 1. Directives selectors, property bindings, event bindings, template variables and template element attributes should be changed to camel case: -Examples: -- `

` should be changed to `

`, -- `` should be changed to ``, -- `` should be changed to ``, -- `` should be changed to ``, -- `` should be changed to ``, -- `