<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/ng/directive, branch v1.0.0</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>docs(*): simplify doc urls</title>
<updated>2012-06-12T07:10:18+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-06-12T06:49:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f16150d5f1b20b3d633b4402095ea89baa4be042'/>
<id>f16150d5f1b20b3d633b4402095ea89baa4be042</id>
<content type='text'>
we now have two types of namespaces:

- true namespace: angular.* - used for all global apis
- virtual namespace: ng.*, ngMock.*, ... - used for all DI modules

the virual namespaces have services under the second namespace level (e.g. ng.)
and filters and directives prefixed with filter: and directive: respectively
(e.g. ng.filter:orderBy, ng.directive:ngRepeat)

this simplifies urls and makes them a lot shorter while still avoiding name collisions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we now have two types of namespaces:

- true namespace: angular.* - used for all global apis
- virtual namespace: ng.*, ngMock.*, ... - used for all DI modules

the virual namespaces have services under the second namespace level (e.g. ng.)
and filters and directives prefixed with filter: and directive: respectively
(e.g. ng.filter:orderBy, ng.directive:ngRepeat)

this simplifies urls and makes them a lot shorter while still avoiding name collisions
</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>refactor($compile): always call attr.$observe</title>
<updated>2012-06-08T22:27:03+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-06-04T22:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=9be82d942fc6ab2772197c84a35a4c374c604cbc'/>
<id>9be82d942fc6ab2772197c84a35a4c374c604cbc</id>
<content type='text'>
attr.$observe used to call function only if there was interpolation
on that attribute. We now call the observation function all the time
but we only save the reference to it if interpolation is present.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
attr.$observe used to call function only if there was interpolation
on that attribute. We now call the observation function all the time
but we only save the reference to it if interpolation is present.
</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>
<entry>
<title>doc(guide): clean up broken links</title>
<updated>2012-06-02T23:02:08+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-05-24T21:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0532aabcf97a08badd6ed67ad40453d37da89556'/>
<id>0532aabcf97a08badd6ed67ad40453d37da89556</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($route): rename template -&gt; tempalteUrl and add support for inline templates</title>
<updated>2012-06-02T00:01:10+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-05-17T23:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0a6e464a93d9a1e76a624b356054ce9ca4015f55'/>
<id>0a6e464a93d9a1e76a624b356054ce9ca4015f55</id>
<content type='text'>
BREAKING CHANGE: template in $route definition is now templateUrl
To migrate just rename `template` to `templateUrl`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: template in $route definition is now templateUrl
To migrate just rename `template` to `templateUrl`.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore($route): rename events</title>
<updated>2012-06-01T23:57:49+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-06-01T18:31:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=7c2428218893f59c6a4499667488009ca67f3385'/>
<id>7c2428218893f59c6a4499667488009ca67f3385</id>
<content type='text'>
BREAKING CHANGE

rename $beforeRouteChange to $routeChangeStart
rename $afterRouteChange to $routeChangeSuccess
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE

rename $beforeRouteChange to $routeChangeStart
rename $afterRouteChange to $routeChangeSuccess
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($route): resolve local route promises</title>
<updated>2012-06-01T23:56:31+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-05-23T04:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=885fb0dd0743859a8985c23e4d0c1855a2be711e'/>
<id>885fb0dd0743859a8985c23e4d0c1855a2be711e</id>
<content type='text'>
Resolve all promises on route before we fire $afterRouteChange which then renders the ngView.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve all promises on route before we fire $afterRouteChange which then renders the ngView.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngRepeat): expose $first, $middle and $last instead of $position</title>
<updated>2012-05-22T21:18:15+00:00</updated>
<author>
<name>Max</name>
</author>
<published>2012-05-02T16:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=1d388676e3b97b6171fc498e82545bd437ee6fd1'/>
<id>1d388676e3b97b6171fc498e82545bd437ee6fd1</id>
<content type='text'>
$position marker doesn't work well in cases when we have just one item
in the list because then the item is both the first and last. To solve
this properly we need to expose individual $first and $middle and $last
flags.

BREAKING CHANGE: $position is not exposed in repeater scopes any more

To update, search for $position and replace it with one of $first,
$middle or $last.

Closes #912
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$position marker doesn't work well in cases when we have just one item
in the list because then the item is both the first and last. To solve
this properly we need to expose individual $first and $middle and $last
flags.

BREAKING CHANGE: $position is not exposed in repeater scopes any more

To update, search for $position and replace it with one of $first,
$middle or $last.

Closes #912
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngSrc,ngHref): binding should set element prop as well as attr</title>
<updated>2012-05-07T06:01:33+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-05-06T23:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b24cc63bcbd45741d21757653f05d54db09e0f20'/>
<id>b24cc63bcbd45741d21757653f05d54db09e0f20</id>
<content type='text'>
IE9 ignores setAttribute('src', val) calls on img if "ng:src" attribute
is present. It only fetches the image if element property is updated as well.

Closes #935
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IE9 ignores setAttribute('src', val) calls on img if "ng:src" attribute
is present. It only fetches the image if element property is updated as well.

Closes #935
</pre>
</div>
</content>
</entry>
</feed>
