<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/docs/content/cookbook, branch v1.0.0rc5</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix($location): properly rewrite urls in html5 mode with base url set</title>
<updated>2012-04-12T09:36:03+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-12T06:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=6d7e7fdea6c3d6551ff40c150aa42e1375d2cb5f'/>
<id>6d7e7fdea6c3d6551ff40c150aa42e1375d2cb5f</id>
<content type='text'>
previously we were doing all kinds of checks to see if we should rewrite the url or not and we
were missing many scenarios. not any more.

with this change, we rewrite the url unless:
- the href is not set
- link has target attribute
- the absolute url of the link doesn't match the absolute prefix for all urls in our app

This also means that ng-ext-link attribute which we previously used to distinguish external
links from app links is not necessary any more. apps can just set target=_self to prevent
rewriting.

BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary

apps that relied on ng-ext-link should simply replace it with target=_self
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previously we were doing all kinds of checks to see if we should rewrite the url or not and we
were missing many scenarios. not any more.

with this change, we rewrite the url unless:
- the href is not set
- link has target attribute
- the absolute url of the link doesn't match the absolute prefix for all urls in our app

This also means that ng-ext-link attribute which we previously used to distinguish external
links from app links is not necessary any more. apps can just set target=_self to prevent
rewriting.

BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary

apps that relied on ng-ext-link should simply replace it with target=_self
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module</title>
<updated>2012-04-11T22:50:47+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-04-10T23:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5bcd7198664dca2bf85ddf8b3a89f417cd4e4796'/>
<id>5bcd7198664dca2bf85ddf8b3a89f417cd4e4796</id>
<content type='text'>
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version

Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version

Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(docs): change all directive references to use the normalized names</title>
<updated>2012-04-09T16:52:27+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-06T23:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=82d90a409692e97a79c3bf4708ee80796c7de2d6'/>
<id>82d90a409692e97a79c3bf4708ee80796c7de2d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(docs): remove ngModelInstant from all examples</title>
<updated>2012-04-04T22:56:15+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-04T22:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=fdf17d729fa7651e88dc5f27c40b8de875a34a55'/>
<id>fdf17d729fa7651e88dc5f27c40b8de875a34a55</id>
<content type='text'>
just fixing leftover code after the removal of ngModelInstant
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just fixing leftover code after the removal of ngModelInstant
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($compile): do not interpolate boolean attributes, rather evaluate them</title>
<updated>2012-03-27T04:14:09+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-03-23T22:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=a08cbc02e78e789a66e9af771c410e8ad1646e25'/>
<id>a08cbc02e78e789a66e9af771c410e8ad1646e25</id>
<content type='text'>
So that we can have non string values, e.g. ng-value="true" for radio inputs

Breaks boolean attrs are evaluated rather than interpolated

To migrate your code, change: &lt;input ng-disabled="{{someBooleanVariable}}"&gt;
to: &lt;input ng-disabled="someBooleanVariabla"&gt;


Affected directives:

* ng-multiple
* ng-selected
* ng-checked
* ng-disabled
* ng-readonly
* ng-required
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that we can have non string values, e.g. ng-value="true" for radio inputs

Breaks boolean attrs are evaluated rather than interpolated

To migrate your code, change: &lt;input ng-disabled="{{someBooleanVariable}}"&gt;
to: &lt;input ng-disabled="someBooleanVariabla"&gt;


Affected directives:

* ng-multiple
* ng-selected
* ng-checked
* ng-disabled
* ng-readonly
* ng-required
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(cookbook/form): fix the example</title>
<updated>2012-03-21T20:52:11+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-03-21T20:52:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=98e18a64aa6b4d7323b684f4d65ba2db30828762'/>
<id>98e18a64aa6b4d7323b684f4d65ba2db30828762</id>
<content type='text'>
Closes #712
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #712
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(input): Fix some broken links, add missing $, use ng- in examples</title>
<updated>2012-03-13T20:52:57+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-03-13T20:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=63be222326f3badbb76371f82d49fed5ab9e3e65'/>
<id>63be222326f3badbb76371f82d49fed5ab9e3e65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(forms): prefix all form and control properties with $</title>
<updated>2012-03-13T06:04:11+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-03-13T04:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f59e4b11f11261c234a821db67088f0de88a2852'/>
<id>f59e4b11f11261c234a821db67088f0de88a2852</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor($route): remove .parent(); ng:view scope creation</title>
<updated>2012-02-29T01:46:58+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-02-16T05:49:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e31d1c287d972d633bdaf9c385d3012192f64918'/>
<id>e31d1c287d972d633bdaf9c385d3012192f64918</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(forms): Even better forms</title>
<updated>2012-02-29T01:46:58+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-02-16T01:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=21c725f1a12d1de758cab6e4c4fafc5c420eb565'/>
<id>21c725f1a12d1de758cab6e4c4fafc5c420eb565</id>
<content type='text'>
- remove $formFactory completely
- remove parallel scope hierarchy (forms, widgets)
- use new compiler features (widgets, forms are controllers)
- any directive can add formatter/parser (validators, convertors)

Breaks no custom input types
Breaks removed integer input type
Breaks remove list input type (ng-list directive instead)
Breaks inputs bind only blur event by default (added ng:bind-change directive)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- remove $formFactory completely
- remove parallel scope hierarchy (forms, widgets)
- use new compiler features (widgets, forms are controllers)
- any directive can add formatter/parser (validators, convertors)

Breaks no custom input types
Breaks removed integer input type
Breaks remove list input type (ng-list directive instead)
Breaks inputs bind only blur event by default (added ng:bind-change directive)
</pre>
</div>
</content>
</entry>
</feed>
