<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/ng, branch v1.2.4</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix($compile): update cloned elements if the template arrives after the cloning</title>
<updated>2013-12-06T06:16:25+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-27T03:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b0972a2e75909e41dbac6e4413ada7df2d51df3a'/>
<id>b0972a2e75909e41dbac6e4413ada7df2d51df3a</id>
<content type='text'>
If an element has a directive whose content is loaded using `templateUrl`,
and the element is cloned using a linking function before the template arrives,
the clone needs to be updated as well.

This also updates `ngIf` and `ngRepeat` to keep the connection to the clone
of a tranclude function, so that they know about the changes a directive with
`templateUrl` does to the element in the future.

Fixes to #4930.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an element has a directive whose content is loaded using `templateUrl`,
and the element is cloned using a linking function before the template arrives,
the clone needs to be updated as well.

This also updates `ngIf` and `ngRepeat` to keep the connection to the clone
of a tranclude function, so that they know about the changes a directive with
`templateUrl` does to the element in the future.

Fixes to #4930.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(Scope): short-circuit after dirty-checking last dirty watcher</title>
<updated>2013-12-05T23:37:37+00:00</updated>
<author>
<name>Karl Seamon</name>
</author>
<published>2013-12-04T00:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=d070450cd2b3b3a3aa34b69d3fa1f4cc3be025dd'/>
<id>d070450cd2b3b3a3aa34b69d3fa1f4cc3be025dd</id>
<content type='text'>
Stop dirty-checking during $digest after the last dirty watcher has been re-checked.

This prevents unneeded re-checking of the remaining watchers (They were already
checked in the previous iteration), bringing a substantial performance improvement
to the average case run time of $digest.

Closes #5272
Closes #5287
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stop dirty-checking during $digest after the last dirty watcher has been re-checked.

This prevents unneeded re-checking of the remaining watchers (They were already
checked in the previous iteration), bringing a substantial performance improvement
to the average case run time of $digest.

Closes #5272
Closes #5287
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngInit): evaluate ngInit before ngInclude</title>
<updated>2013-12-05T07:26:56+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2013-11-30T02:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0e50810c53428f4c1f5bfdba9599df54cb7a6c6e'/>
<id>0e50810c53428f4c1f5bfdba9599df54cb7a6c6e</id>
<content type='text'>
The priority of ngInit is adjusted to occur before ngInclude, and after
ngController. This enables ngInit to initiallize values in a controller's
scope, and also to initiallize values before ngInclude executes.

Closes #5167
Closes #5208
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The priority of ngInit is adjusted to occur before ngInclude, and after
ngController. This enables ngInit to initiallize values in a controller's
scope, and also to initiallize values before ngInclude executes.

Closes #5167
Closes #5208
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): ensure ngModelWatch() triggers second digest pass when appropriate</title>
<updated>2013-12-05T06:49:11+00:00</updated>
<author>
<name>Daniel Tabuenca</name>
</author>
<published>2013-12-05T00:25:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b6d5439343b9801f7f2a009d0de09cba9aa21a1d'/>
<id>b6d5439343b9801f7f2a009d0de09cba9aa21a1d</id>
<content type='text'>
Due to an earlier change, ngModelWatch() no longer returns a value to the
caller. This means the digest loop has no way to tell if the watch actually
modified anything and so can not schedule another pass.

This means any watches that watch form or model controller changes
(e.g. watches on form.$valid) that are scheduled prior to an ngModelWatch()
will not be able to see any changes made therin.

This commit fixes this behavior by returning the latest evaluated ng-model
value.

Closes #5258
Closes #5282
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to an earlier change, ngModelWatch() no longer returns a value to the
caller. This means the digest loop has no way to tell if the watch actually
modified anything and so can not schedule another pass.

This means any watches that watch form or model controller changes
(e.g. watches on form.$valid) that are scheduled prior to an ngModelWatch()
will not be able to see any changes made therin.

This commit fixes this behavior by returning the latest evaluated ng-model
value.

Closes #5258
Closes #5282
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($rootScope): broadcast $destroy event on $rootScope</title>
<updated>2013-12-04T23:29:19+00:00</updated>
<author>
<name>Jeff Cross</name>
</author>
<published>2013-12-04T22:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=d802ed1b3680cfc1751777fac465b92ee29944dc'/>
<id>d802ed1b3680cfc1751777fac465b92ee29944dc</id>
<content type='text'>
Fixes #5169
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #5169
</pre>
</div>
</content>
</entry>
<entry>
<title>docs($interpolate): demonstrate a filter in the interpolated expression</title>
<updated>2013-12-04T22:36:42+00:00</updated>
<author>
<name>Sorin Gitlan</name>
</author>
<published>2013-11-28T10:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e8f4305e9d1587512dbef44733fd162caa1cef59'/>
<id>e8f4305e9d1587512dbef44733fd162caa1cef59</id>
<content type='text'>
Closes #5186
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5186
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(input): remove deprecated isolated scope pitfall</title>
<updated>2013-12-04T22:36:41+00:00</updated>
<author>
<name>Julien Bouquillon</name>
</author>
<published>2013-11-27T23:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=1e7675ad4c6dd472755be65fb21c1788afec5856'/>
<id>1e7675ad4c6dd472755be65fb21c1788afec5856</id>
<content type='text'>
The 1.2 release fixed the documented pitfall at 909cabd36d779598763cc358979ecd85bb40d4d7
by isolating only the isolated directive's scope.

Closes #5179
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 1.2 release fixed the documented pitfall at 909cabd36d779598763cc358979ecd85bb40d4d7
by isolating only the isolated directive's scope.

Closes #5179
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($rootScope): clear phase if an exception is raised by a watcher</title>
<updated>2013-12-04T18:11:29+00:00</updated>
<author>
<name>Thomas Guillory</name>
</author>
<published>2013-11-06T14:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=d3c486dd6dfa8d5dca32a3e28aa685fb7260c878'/>
<id>d3c486dd6dfa8d5dca32a3e28aa685fb7260c878</id>
<content type='text'>
Add calls to clearPhase() when an exception is raised by a watcher
while a digest cycle, in order to not be stuck on `$digest` scope phase
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add calls to clearPhase() when an exception is raised by a watcher
while a digest cycle, in order to not be stuck on `$digest` scope phase
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($compile): ensure isolated local watches' lastValue is always in sync</title>
<updated>2013-12-04T17:45:20+00:00</updated>
<author>
<name>Daniel Tabuenca</name>
</author>
<published>2013-11-28T06:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2d0f6ccba896fe34141d6d4f59eef6fba580c5c2'/>
<id>2d0f6ccba896fe34141d6d4f59eef6fba580c5c2</id>
<content type='text'>
When using two-way binding with isolate scope, under some circumstances
the lastValue variable captured in the parentValueWatch function can get
out of sync.

Specifically, if both the value in the origin scope as well as the value
in the isolate scope get independently updated to the same value within
one digest cycle, the lastValue is never updated. This potentially causes
the watch to make the wrong decision as to which side to update on subsequent
passes.

This fixes things by ensuring lastValue is always set to the last seen
value even if the watch's logic was short circuited because there was no
difference between the values in the original and isolate scopes.

Closes #5182
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using two-way binding with isolate scope, under some circumstances
the lastValue variable captured in the parentValueWatch function can get
out of sync.

Specifically, if both the value in the origin scope as well as the value
in the isolate scope get independently updated to the same value within
one digest cycle, the lastValue is never updated. This potentially causes
the watch to make the wrong decision as to which side to update on subsequent
passes.

This fixes things by ensuring lastValue is always set to the last seen
value even if the watch's logic was short circuited because there was no
difference between the values in the original and isolate scopes.

Closes #5182
</pre>
</div>
</content>
</entry>
<entry>
<title>style(Scope): remove extra ws</title>
<updated>2013-12-03T23:44:13+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-12-03T23:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4a401bbcf3c3e47fec94d33607032ce931d25fdb'/>
<id>4a401bbcf3c3e47fec94d33607032ce931d25fdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
