Angular2 templates are now case-sensitive and use camelCase in many places where dash-case was previously used ([design doc] (https://docs.google.com/document/d/1UMxTIUBTIUZNfOqwMhkLg0ANFSBtLIK9JsIu77EZaBA/edit?ts=564f7dd4)). ## Overview Where you used to write: ``` ``` in order to: - bind to the `someEvent` event, - bind to the `someProperty` property, - create a `someVar` local variable 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 interpret them as custom elements, - `(some-event)` would now bind to the `some-event` event (i.e. there is no implicit dash to camel case conversion), - `[some-property]` would now bind to the `some-property` property (i.e. there is no implicit dash to camel case conversion), - `#some-var` is not allowed any more ("-" can not be used in variable names). ## Migration #### Templates 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 ``, - `