- Upgrading 'directives' to components doesn't seem too hard, but is tedious and error-prone
- Need to update all references to the inherent scope (so
%div{model: 'thread'}
needs to become%div{model: '$ctrl.thread'}
) - We can also rename '$ctrl' with the controllerAs option when creating the components
- This has the benefit of allowing (small parts of) our views to port over to angular 2 (more on that later). However, in my view the views will still require a substantial rewrite on top of this, because the syntax from 1 -> 2 is so different
- Need to update all references to the inherent scope (so
- Dependency support for angular 2: