<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ngRoute, branch v1.2.13</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix($animate): ensure $animate doesn't break natural CSS transitions</title>
<updated>2014-02-15T00:30:48+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-02-14T09:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4f84f6b3e4210ae1eb14728a46d43dd961700a0c'/>
<id>4f84f6b3e4210ae1eb14728a46d43dd961700a0c</id>
<content type='text'>
BREAKING CHANGE: ngClass and {{ class }} will now call the `setClass`
animation callback instead of addClass / removeClass when both a
addClass/removeClass operation is being executed on the element during the animation.

Please include the setClass animation callback as well as addClass and removeClass within
your JS animations to work with ngClass and {{ class }} directives.

Closes #6019
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: ngClass and {{ class }} will now call the `setClass`
animation callback instead of addClass / removeClass when both a
addClass/removeClass operation is being executed on the element during the animation.

Please include the setClass animation callback as well as addClass and removeClass within
your JS animations to work with ngClass and {{ class }} directives.

Closes #6019
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mocks): rename mock.animate to ngAnimateMock and ensure it contains all test helper code for ngAnimate</title>
<updated>2014-02-06T06:22:14+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-01-23T00:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4224cd5182bc93e4a210f75e0a4e4de7f3c544e8'/>
<id>4224cd5182bc93e4a210f75e0a4e4de7f3c544e8</id>
<content type='text'>
Closes #5822
Closes #5917
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5822
Closes #5917
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mocks): remove usage of $animate.flushNext in favour of queing</title>
<updated>2014-02-06T06:21:41+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-01-23T00:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=906fdad0f95465842e336e057ea97d0633712189'/>
<id>906fdad0f95465842e336e057ea97d0633712189</id>
<content type='text'>
The flushNext method of testing is difficult and highly coupled with the behavior
of ngAnimate's $animate workflow. It is much better instead to just queue all
$animate animation calls into a queue collection which is available on the $animate
service when mock.animate is included as a module within test code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The flushNext method of testing is difficult and highly coupled with the behavior
of ngAnimate's $animate workflow. It is much better instead to just queue all
$animate animation calls into a queue collection which is available on the $animate
service when mock.animate is included as a module within test code.
</pre>
</div>
</content>
</entry>
<entry>
<title>revert: fix($route): update current route upon $route instantiation</title>
<updated>2014-01-13T23:12:17+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2014-01-13T23:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=308598795af75c33a966ecb3124f4a640d72458d'/>
<id>308598795af75c33a966ecb3124f4a640d72458d</id>
<content type='text'>
This reverts commit 2b344dbd20777fb1283b3a5bcf35a6ae8d09469d.

I think I merged this commit prematurely and in addition to that
we found out that it's breaking google apps.

Jen Bourey will provide more info at the original PR #5681
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2b344dbd20777fb1283b3a5bcf35a6ae8d09469d.

I think I merged this commit prematurely and in addition to that
we found out that it's breaking google apps.

Jen Bourey will provide more info at the original PR #5681
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($route): update current route upon $route instantiation</title>
<updated>2014-01-11T07:42:36+00:00</updated>
<author>
<name>Daniel Zimmermann</name>
</author>
<published>2014-01-08T08:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2b344dbd20777fb1283b3a5bcf35a6ae8d09469d'/>
<id>2b344dbd20777fb1283b3a5bcf35a6ae8d09469d</id>
<content type='text'>
This fixes cases where the first ngView is loaded in a template asynchronously (such as through ngInclude), as the service will miss the first  event otherwise.

Closes #4957
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes cases where the first ngView is loaded in a template asynchronously (such as through ngInclude), as the service will miss the first  event otherwise.

Closes #4957
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngRoute): instantiate controller when template is empty</title>
<updated>2013-12-28T06:45:46+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2013-12-28T01:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=498365f219f65d6c29bdf2f03610a4d3646009bb'/>
<id>498365f219f65d6c29bdf2f03610a4d3646009bb</id>
<content type='text'>
Before this change, $route controllers are not instantiated if the template is falsy, which includes
the empty string. This change tests if the template is not undefined, rather than just falsy, in
order to ensure that templates are instantiated even when the template is empty, which people may
have some reason to do.

This "bug" was reported in http://robb.weblaws.org/2013/06/21/angularjs-vs-emberjs/, as a "gotcha"
for AngularJS / ngRoute.

Closes #5550
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change, $route controllers are not instantiated if the template is falsy, which includes
the empty string. This change tests if the template is not undefined, rather than just falsy, in
order to ensure that templates are instantiated even when the template is empty, which people may
have some reason to do.

This "bug" was reported in http://robb.weblaws.org/2013/06/21/angularjs-vs-emberjs/, as a "gotcha"
for AngularJS / ngRoute.

Closes #5550
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): 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:45:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f8944efe70b81e02704df9b53ea2546c80c73d3b'/>
<id>f8944efe70b81e02704df9b53ea2546c80c73d3b</id>
<content type='text'>
The template needs to be added to the DOM before
other directives at the same element as `ngView` are linked.

Related to #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 `ngView` are linked.

Related to #5247.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): Don't throw when the ngView 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:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e6521e7491242504250b57dd0ee66af49e653c33'/>
<id>e6521e7491242504250b57dd0ee66af49e653c33</id>
<content type='text'>
Fixes #5069
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #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>
<entry>
<title>fix($compile): accessing controllers of transcluded directives from children</title>
<updated>2013-11-15T04:59:50+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-14T21:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=90f87072e83234ae366cfeb3c281503c31dad738'/>
<id>90f87072e83234ae366cfeb3c281503c31dad738</id>
<content type='text'>
Additional API (backwards compatible)
- Injects `$transclude` (see directive controllers) as 5th argument to directive link functions.
- `$transclude` takes an optional scope as first parameter that overrides the
  bound scope.

Deprecations:
- `transclude` parameter of directive compile functions (use the new parameter for link functions instead).

Refactorings:
- Don't use comment node to temporarily store controllers
- `ngIf`, `ngRepeat`, ... now all use `$transclude`

Closes #4935.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additional API (backwards compatible)
- Injects `$transclude` (see directive controllers) as 5th argument to directive link functions.
- `$transclude` takes an optional scope as first parameter that overrides the
  bound scope.

Deprecations:
- `transclude` parameter of directive compile functions (use the new parameter for link functions instead).

Refactorings:
- Don't use comment node to temporarily store controllers
- `ngIf`, `ngRepeat`, ... now all use `$transclude`

Closes #4935.
</pre>
</div>
</content>
</entry>
</feed>
