<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ng/directive, branch v1.2.5</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>perf(jqLite): implement and use the `empty` method in place of `html(‘’)`</title>
<updated>2013-12-13T10:07:11+00:00</updated>
<author>
<name>Michał Gołębiowski</name>
</author>
<published>2013-10-16T13:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=3410f65e790a81d457b4f4601a1e760a6f8ede5e'/>
<id>3410f65e790a81d457b4f4601a1e760a6f8ede5e</id>
<content type='text'>
jQuery's elem.html('') is way slower than elem.empty(). As clearing
element contents happens quite often in certain scenarios, switching
to using .empty() provides a significant performance boost when using
Angular with jQuery.

Closes #4457
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
jQuery's elem.html('') is way slower than elem.empty(). As clearing
element contents happens quite often in certain scenarios, switching
to using .empty() provides a significant performance boost when using
Angular with jQuery.

Closes #4457
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(a): do not link when href or name exists in template</title>
<updated>2013-12-13T08:31:25+00:00</updated>
<author>
<name>Karl Seamon</name>
</author>
<published>2013-12-09T20:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f3de5b6eac90baf649506072162f36dbc6d2f028'/>
<id>f3de5b6eac90baf649506072162f36dbc6d2f028</id>
<content type='text'>
Change the a directive to link and hookup a click event only when
there is no href or name in the template element.
In a large Google app, this results in about 800 fewer registrations,
saving a small but measurable amount of time and memory.

Closes #5362
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the a directive to link and hookup a click event only when
there is no href or name in the template element.
In a large Google app, this results in about 800 fewer registrations,
saving a small but measurable amount of time and memory.

Closes #5362
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngInclude): Add template to DOM before linking other directives</title>
<updated>2013-12-13T01:18:44+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-12-11T00:46:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=30a8b7d0b5d4882c2bf3b20eb696a02f5b667726'/>
<id>30a8b7d0b5d4882c2bf3b20eb696a02f5b667726</id>
<content type='text'>
The template needs to be added to the DOM before
other directives at the same element as `ngInclude` are linked.

Fixes #5247.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The template needs to be added to the DOM before
other directives at the same element as `ngInclude` are linked.

Fixes #5247.
</pre>
</div>
</content>
</entry>
<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>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(ngAnimate): ensure animations are disabled upon bootstrap for structrual animations</title>
<updated>2013-11-25T20:00:50+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2013-11-25T18:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=eed2333298412fbad04eda97ded3487c845b9eb9'/>
<id>eed2333298412fbad04eda97ded3487c845b9eb9</id>
<content type='text'>
Closes #5130
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5130
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): Support form auto complete on modern browser</title>
<updated>2013-11-23T01:02:21+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-23T00:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=a090400f09d7993d102f527609879cdc74abae60'/>
<id>a090400f09d7993d102f527609879cdc74abae60</id>
<content type='text'>
Although modern browser support the "input" event, they still only fire
the "change" event when they auto complete form elements
other than the currently selected one.

Related to #1460
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although modern browser support the "input" event, they still only fire
the "change" event when they auto complete form elements
other than the currently selected one.

Related to #1460
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngInclude): Don't throw when the ngInclude element contains content with directives.</title>
<updated>2013-11-22T06:20:11+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-22T05:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0a7cbb33b06778833a4d99b1868cc07690a827a7'/>
<id>0a7cbb33b06778833a4d99b1868cc07690a827a7</id>
<content type='text'>
Related to #5069
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to #5069
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($compile): ensure CSS classes are added and removed only when necessary</title>
<updated>2013-11-22T01:47:44+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2013-11-19T03:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0cd7e8f22721f62b62440bb059ae764ebbe7b42a'/>
<id>0cd7e8f22721f62b62440bb059ae764ebbe7b42a</id>
<content type='text'>
When $compile interpolates a CSS class attribute expression it will
do so by comparing the CSS class value already present on the element.
This may lead to unexpected results when dealing with ngClass values being
added and removed therefore it is best that both compile and ngClass delegate
addClass/removeClass operations to the same block of code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When $compile interpolates a CSS class attribute expression it will
do so by comparing the CSS class value already present on the element.
This may lead to unexpected results when dealing with ngClass values being
added and removed therefore it is best that both compile and ngClass delegate
addClass/removeClass operations to the same block of code.
</pre>
</div>
</content>
</entry>
</feed>
