diff options
| author | Igor Minar | 2012-03-12 23:40:19 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-03-13 14:13:53 -0700 | 
| commit | ac5151a469667b1cc1b5e2f96d330b71631efd0b (patch) | |
| tree | 451940a5803d72784e4e703975b28a75cf2457cd /CHANGELOG.md | |
| parent | 63be222326f3badbb76371f82d49fed5ab9e3e65 (diff) | |
| download | angular.js-ac5151a469667b1cc1b5e2f96d330b71631efd0b.tar.bz2 | |
fix(scope): remove scope $destroy event
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/CHANGELOG.md b/CHANGELOG.md index 985f4459..8fdb8231 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -209,6 +209,11 @@ behavior and migrate your controllers one at a time: <https://gist.github.com/16    - before: `scope.$watch('expression', function(scope, newVal, oldVal) {})`    - after: `scope.$watch('expression', function(newVal, oldVal, scope) {}, true)` +- `scope.$destroy` doesn't cause the `$destroy` event to be emitted any more - this event was +   primarily used by the old forms implementation and is not needed any more. We are considering +   broadcasting this event in the future, which could then be used by directives and child scopes to +   be notified of their scope destruction. +  ## New directives: | 
