<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ngRoute/directive, branch v1.2.10</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<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>
<entry>
<title>fix(ngView): only run anchorScroll after animation is done</title>
<updated>2013-11-06T08:14:11+00:00</updated>
<author>
<name>Jeff Cross</name>
</author>
<published>2013-11-06T07:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=da344daa4023556f8abbef6d8ad87a16362b5861'/>
<id>da344daa4023556f8abbef6d8ad87a16362b5861</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): ensure the new view element is placed after the old view element</title>
<updated>2013-10-23T17:30:45+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2013-10-17T18:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=3f568b22f9bec09192588e3cae937db5c2e757f9'/>
<id>3f568b22f9bec09192588e3cae937db5c2e757f9</id>
<content type='text'>
Closes #4362
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4362
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(modules): stop leaking global variables in tests</title>
<updated>2013-10-10T18:58:15+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-10-10T08:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=07272608d8ae39a5dd220cdb5637b1439342d5c3'/>
<id>07272608d8ae39a5dd220cdb5637b1439342d5c3</id>
<content type='text'>
The routeUtils.js file was declaring a number of functions that were
leaking into other modules such as ngMocks causing tests to pass
incorrectly.

Closes #4360
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The routeUtils.js file was declaring a number of functions that were
leaking into other modules such as ngMocks causing tests to pass
incorrectly.

Closes #4360
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): IE8 regression due to expando on non-element nodes</title>
<updated>2013-09-20T20:55:16+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-09-20T17:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=255e8c13cf0fd78f1c4d7c279be7bf47c2402956'/>
<id>255e8c13cf0fd78f1c4d7c279be7bf47c2402956</id>
<content type='text'>
This fixes the "TypeError: Object doesn't support this property or method" error on IE8,
when view templates contain leading white-space.

Closes #3971
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the "TypeError: Object doesn't support this property or method" error on IE8,
when view templates contain leading white-space.

Closes #3971
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): ensure ngClass works with together with ngView's transclusion behavior</title>
<updated>2013-09-04T00:06:49+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2013-08-30T13:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=40c0220c47c620070b30aec6ec4552c68a8689eb'/>
<id>40c0220c47c620070b30aec6ec4552c68a8689eb</id>
<content type='text'>
Closes: #3727
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes: #3727
</pre>
</div>
</content>
</entry>
</feed>
