<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ng/directive, branch v1.0.2</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>revert: fix(ng-repeat) to work with primitive types</title>
<updated>2012-08-31T20:44:36+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-08-31T20:43:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0e1545eb04f217f24ecd4e1474cf4cb31c8c3ef0'/>
<id>0e1545eb04f217f24ecd4e1474cf4cb31c8c3ef0</id>
<content type='text'>
this commit was accidentaly merged. it needs more work and we don't
have CLA signature

This reverts commit 98d489712eff7559bce87ae53bd242112a875c1a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this commit was accidentaly merged. it needs more work and we don't
have CLA signature

This reverts commit 98d489712eff7559bce87ae53bd242112a875c1a.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ng-repeat) to work with primitive types</title>
<updated>2012-08-31T04:34:41+00:00</updated>
<author>
<name>Zhenbo Zhang</name>
</author>
<published>2012-05-08T21:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=98d489712eff7559bce87ae53bd242112a875c1a'/>
<id>98d489712eff7559bce87ae53bd242112a875c1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngPluralize): fixes ng-pluralize when using non-standard start/end symbols</title>
<updated>2012-08-13T19:36:33+00:00</updated>
<author>
<name>Brian Ford</name>
</author>
<published>2012-07-19T08:10:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=d010e0cc7d3cbb5f219f1b5676b082db623f0927'/>
<id>d010e0cc7d3cbb5f219f1b5676b082db623f0927</id>
<content type='text'>
Closes #1134
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1134
</pre>
</div>
</content>
</entry>
<entry>
<title>style(ngPluralizeSpec): fix indentation</title>
<updated>2012-08-13T19:36:22+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-08-11T00:37:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=40f728b1aafcf1775cc5c1f230484af6979635b6'/>
<id>40f728b1aafcf1775cc5c1f230484af6979635b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(option): support option elements in datalist</title>
<updated>2012-08-10T23:14:49+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-08-10T22:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5540748890706c4b6b90ca6a9e55da2129306313'/>
<id>5540748890706c4b6b90ca6a9e55da2129306313</id>
<content type='text'>
previously we expected to find option elements only within select element and if
that was not the case we throw an error. This made it impossible to include datalist
element with nested option elements in the template.

Closes #1165
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previously we expected to find option elements only within select element and if
that was not the case we throw an error. This made it impossible to include datalist
element with nested option elements in the template.

Closes #1165
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(form): prevent page reload when form destroyed</title>
<updated>2012-08-10T21:21:02+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-08-08T05:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=663ccc5449dfa6e8d5358d4955df4e9f332a34e1'/>
<id>663ccc5449dfa6e8d5358d4955df4e9f332a34e1</id>
<content type='text'>
this fix ensures that we prevent the default action on form submission
(full page reload) even in cases when the form is being destroyed as
a result of the submit event handler (e.g. when route change is
triggered).

The fix is more complicated than I'd like it to be mainly because
we need to ensure that we don't create circular references between
js closures and dom elements via DOM event handlers that would then
result in a memory leak.

Also the differences between IE8, IE9 and normal browsers make testing
this ugly.

Closes #1238
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this fix ensures that we prevent the default action on form submission
(full page reload) even in cases when the form is being destroyed as
a result of the submit event handler (e.g. when route change is
triggered).

The fix is more complicated than I'd like it to be mainly because
we need to ensure that we don't create circular references between
js closures and dom elements via DOM event handlers that would then
result in a memory leak.

Also the differences between IE8, IE9 and normal browsers make testing
this ugly.

Closes #1238
</pre>
</div>
</content>
</entry>
<entry>
<title>test(form): fix broken preventDefault test</title>
<updated>2012-08-10T21:20:52+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-08-08T05:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=263f47819fa0f4510a5318778a1d3b5cb55fe4aa'/>
<id>263f47819fa0f4510a5318778a1d3b5cb55fe4aa</id>
<content type='text'>
the original test relied on incorrect assumptions about how jasmine async
tests work (when setTimeout is triggered) and how browser reloads a page
(the sequence of events) and thus the test passes even when the default
is not prevented.

this change fixes the test by registering an extra submit event handler
that checks if the default was prevented.

if the default was not prevented, the test will fail and the page will
be reloaded causing the test runner to panic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the original test relied on incorrect assumptions about how jasmine async
tests work (when setTimeout is triggered) and how browser reloads a page
(the sequence of events) and thus the test passes even when the default
is not prevented.

this change fixes the test by registering an extra submit event handler
that checks if the default was prevented.

if the default was not prevented, the test will fail and the page will
be reloaded causing the test runner to panic.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(formSpec): group preventDefault specs into a describe</title>
<updated>2012-08-10T21:20:28+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-08-08T00:23:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=6b75475ce3e3ab03570b500461c869386f4fc84d'/>
<id>6b75475ce3e3ab03570b500461c869386f4fc84d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($compile): simplify isolate scope bindings</title>
<updated>2012-06-08T22:50:13+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-06-06T20:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c3a41ff9fefe894663c4d4f40a83794521deb14f'/>
<id>c3a41ff9fefe894663c4d4f40a83794521deb14f</id>
<content type='text'>
Changed the isolate scope binding options to:
  - @attr - attribute binding (including interpolation)
  - =model - by-directional model binding
  - &amp;expr - expression execution binding

This change simplifies the terminology as well as
number of choices available to the developer. It
also supports local name aliasing from the parent.

BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.

To migrate the code follow the example below:

Before:

scope: {
  myAttr: 'attribute',
  myBind: 'bind',
  myExpression: 'expression',
  myEval: 'evaluate',
  myAccessor: 'accessor'
}

After:

scope: {
  myAttr: '@',
  myBind: '@',
  myExpression: '&amp;',
  // myEval - usually not useful, but in cases where the expression is assignable, you can use '='
  myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}

The removed `inject` wasn't generaly useful for directives so there should be no code using it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed the isolate scope binding options to:
  - @attr - attribute binding (including interpolation)
  - =model - by-directional model binding
  - &amp;expr - expression execution binding

This change simplifies the terminology as well as
number of choices available to the developer. It
also supports local name aliasing from the parent.

BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.

To migrate the code follow the example below:

Before:

scope: {
  myAttr: 'attribute',
  myBind: 'bind',
  myExpression: 'expression',
  myEval: 'evaluate',
  myAccessor: 'accessor'
}

After:

scope: {
  myAttr: '@',
  myBind: '@',
  myExpression: '&amp;',
  // myEval - usually not useful, but in cases where the expression is assignable, you can use '='
  myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}

The removed `inject` wasn't generaly useful for directives so there should be no code using it.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc(NgModelController) add example and $render documentation</title>
<updated>2012-06-02T23:02:09+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-05-25T17:29:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=8024a5742c46a42ef204988ff7362a4fc14b7a2d'/>
<id>8024a5742c46a42ef204988ff7362a4fc14b7a2d</id>
<content type='text'>
Closes#930
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes#930
</pre>
</div>
</content>
</entry>
</feed>
