diff options
| author | Misko Hevery | 2011-02-07 15:29:56 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-02-16 00:49:15 -0500 |
| commit | 23b255a8b7481ff5c06004b3558c07f981c42276 (patch) | |
| tree | 57e612f658c9f8903d93a28e9095590178e2ce3a /CHANGELOG.md | |
| parent | e2154cbc0b9265bea04ce328879d4e9bf1c67c51 (diff) | |
| download | angular.js-23b255a8b7481ff5c06004b3558c07f981c42276.tar.bz2 | |
remove $init on scope from applying compilation template
Closes #40
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index de7b3f4f..979d2435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ <a name="0.9.12"><a/> # <angular/> 0.9.12 thought-implanter (in-progress) # +### Breaking changes +- Removed the $init() method after the compilation. The old way of compiling the DOM element was + angular.compile(element).$init(); The $init was there to allow the users to do any work to the + scope before the view would be bound. This is a left over from not having proper MVC. The new + recommended way to deal with initializing scope is to put it in the root constructor controller. + To migrate simply remove the call to $init() and move any code you had before $init() to the + root controller. + <a name="0.9.11"><a/> # <angular/> 0.9.11 snow-maker (2011-02-08) # |
