<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ng/directive, branch v1.2.0</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix(ngClassSpec): clear animation enable fn from postDigestQueue</title>
<updated>2013-11-08T09:03:17+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-11-07T18:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=ffa9d0a6db137cba4090e569b8ed4e25a711314e'/>
<id>ffa9d0a6db137cba4090e569b8ed4e25a711314e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngInclude): only run anchorScroll after animation is done</title>
<updated>2013-11-06T08:14:11+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-11-02T09:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=d378f5500ab2eef0779338336c6a95656505ebb8'/>
<id>d378f5500ab2eef0779338336c6a95656505ebb8</id>
<content type='text'>
We need to wait until animations have added the content to the document before
trying to `autoscroll` to anchors that may have been inserted.

Fixes #4723
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to wait until animations have added the content to the document before
trying to `autoscroll` to anchors that may have been inserted.

Fixes #4723
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngModel): deregister from the form on scope not DOM destruction</title>
<updated>2013-11-04T18:35:51+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-11-04T18:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=8f989d652f70fd147f66a18411070c7b939e242e'/>
<id>8f989d652f70fd147f66a18411070c7b939e242e</id>
<content type='text'>
Due to animations, DOM might get destroyed much later than scope and so the element $destroy event
might get fired outside of $digest, which causes changes to the validation model go unobserved
until the next digest. By deregistering on scope  event, the deregistration always happens
in $digest and the form validation model changes will be observed.

Closes #4226
Closes #4779
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to animations, DOM might get destroyed much later than scope and so the element $destroy event
might get fired outside of $digest, which causes changes to the validation model go unobserved
until the next digest. By deregistering on scope  event, the deregistration always happens
in $digest and the form validation model changes will be observed.

Closes #4226
Closes #4779
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngIf): destroy child scope when destroying DOM</title>
<updated>2013-11-04T18:35:51+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-11-04T18:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=9483373c331343648e079420b3eb1f564d410ff2'/>
<id>9483373c331343648e079420b3eb1f564d410ff2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngIf): ngIf removes elements dynamically added to it</title>
<updated>2013-10-30T23:21:02+00:00</updated>
<author>
<name>Brian Ford</name>
</author>
<published>2013-10-30T21:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e19067c9bbac3c3bb450c80f73eb5518bd0db1a1'/>
<id>e19067c9bbac3c3bb450c80f73eb5518bd0db1a1</id>
<content type='text'>
When using ngIf with ngInclude on the same element, ngIf previously did not remove
elements added by ngInclude. Similarly, when using ngIfStart/End, ngIf will miss
elements added between the start/end markers added after ngIf is linked.

This commit changes the behavior of ngIf to add a comment node at the end of its
elements such that elements between the starting comment and this ending comment
are removed when ngIf's predicate does not hold.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using ngIf with ngInclude on the same element, ngIf previously did not remove
elements added by ngInclude. Similarly, when using ngIfStart/End, ngIf will miss
elements added between the start/end markers added after ngIf is linked.

This commit changes the behavior of ngIf to add a comment node at the end of its
elements such that elements between the starting comment and this ending comment
are removed when ngIf's predicate does not hold.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): keep track of min/max attars on-the-fly</title>
<updated>2013-10-24T13:19:55+00:00</updated>
<author>
<name>Dmitry Shirokov</name>
</author>
<published>2013-10-21T03:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4b653aeac1aca7ac551738870a2446b6810ca0df'/>
<id>4b653aeac1aca7ac551738870a2446b6810ca0df</id>
<content type='text'>
Now input[type=button] keeps track of both min and max attrs even if they change over time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now input[type=button] keeps track of both min and max attrs even if they change over time.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(csp): fix csp auto-detection and stylesheet injection</title>
<updated>2013-10-19T00:33:53+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-10-15T22:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=08f376f2ea3d3bb384f10e3c01f7d48ed21ce351'/>
<id>08f376f2ea3d3bb384f10e3c01f7d48ed21ce351</id>
<content type='text'>
When we refactored , we broke the csp mode because the previous implementation
relied on the fact that it was ok to lazy initialize the .csp property, this
is not the case any more.

Besides, we need to know about csp mode during bootstrap and avoid injecting the
stylesheet when csp is active, so I refactored the code to fix both issues.

PR #4411 will follow up on this commit and add more improvements.

Closes #917
Closes #2963
Closes #4394
Closes #4444

BREAKING CHANGE: triggering ngCsp directive via `ng:csp` attribute is not
supported any more. Please use data-ng-csp instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we refactored , we broke the csp mode because the previous implementation
relied on the fact that it was ok to lazy initialize the .csp property, this
is not the case any more.

Besides, we need to know about csp mode during bootstrap and avoid injecting the
stylesheet when csp is active, so I refactored the code to fix both issues.

PR #4411 will follow up on this commit and add more improvements.

Closes #917
Closes #2963
Closes #4394
Closes #4444

BREAKING CHANGE: triggering ngCsp directive via `ng:csp` attribute is not
supported any more. Please use data-ng-csp instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($compile): abort compilation when duplicate element transclusion</title>
<updated>2013-10-12T00:12:24+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-10-11T04:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=63c5334c84b7269428c710226764d1f08a36e0d4'/>
<id>63c5334c84b7269428c710226764d1f08a36e0d4</id>
<content type='text'>
Issue an error and abort compilation when two directives that ask for transclusion are found
on a single element. This configuration is not supported and we previously failed to issue
the error because in the case of element transclusion the compilation is re-started and this
caused the compilation context to be lost.

The ngRepeat directive has been special-cased to bypass this warning because it knows how to
handle this scenario internally.

This is not an ideal solution to the problem of multiple transclusions per element, we are
hoping to have this configuration supported by the compiler in the future. See #4357.

Closes #3893
Closes #4217
Closes #3307
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue an error and abort compilation when two directives that ask for transclusion are found
on a single element. This configuration is not supported and we previously failed to issue
the error because in the case of element transclusion the compilation is re-started and this
caused the compilation context to be lost.

The ngRepeat directive has been special-cased to bypass this warning because it knows how to
handle this scenario internally.

This is not an ideal solution to the problem of multiple transclusions per element, we are
hoping to have this configuration supported by the compiler in the future. See #4357.

Closes #3893
Closes #4217
Closes #3307
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(ngRepeat): use block separator comments</title>
<updated>2013-10-09T22:19:10+00:00</updated>
<author>
<name>jankuca</name>
</author>
<published>2013-09-23T18:24:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=9efa46ae640cde17487c341daa9a75c0bd79da02'/>
<id>9efa46ae640cde17487c341daa9a75c0bd79da02</id>
<content type='text'>
Issue: multi-elements ng-repeat (ng-repeat-start, ng-repeat-end) can contain elements with a trancluding directive. This directive changes content of the row (template) and ng-repeat does not work correctly (when removing/moving rows), because ng-repeat works with the original template (elements).

This changes ng-repeat behavior to traverse the DOM to find current elements everytime we are moving/removing rows (if the template has multiple elements).

Closes #3104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: multi-elements ng-repeat (ng-repeat-start, ng-repeat-end) can contain elements with a trancluding directive. This directive changes content of the row (template) and ng-repeat does not work correctly (when removing/moving rows), because ng-repeat works with the original template (elements).

This changes ng-repeat behavior to traverse the DOM to find current elements everytime we are moving/removing rows (if the template has multiple elements).

Closes #3104
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): `false` is no longer an empty value by default</title>
<updated>2013-10-07T23:47:51+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-09-25T11:49:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b56b21a898b3c77589a48a290271f9dc181dafe8'/>
<id>b56b21a898b3c77589a48a290271f9dc181dafe8</id>
<content type='text'>
`checkboxInputType` and `ngList` directives need to have special logic for whether
they are empty or not.  Previously this had been hard coded into their
own directives or the `ngRequired` directive.  This made it difficult to handle
these special cases.

This change factors out the question of whether an input is empty into a method
`$isEmpty` on the `ngModelController`.  The `ngRequired` directive now uses this
method when testing for validity and directives, such as `checkbox` or `ngList`
can override it to apply logic specific to their needs.

Closes #3490, #3658, #2594
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`checkboxInputType` and `ngList` directives need to have special logic for whether
they are empty or not.  Previously this had been hard coded into their
own directives or the `ngRequired` directive.  This made it difficult to handle
these special cases.

This change factors out the question of whether an input is empty into a method
`$isEmpty` on the `ngModelController`.  The `ngRequired` directive now uses this
method when testing for validity and directives, such as `checkbox` or `ngList`
can override it to apply logic specific to their needs.

Closes #3490, #3658, #2594
</pre>
</div>
</content>
</entry>
</feed>
