<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/ng/directive, branch v1.0.0rc7</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>docs(ngCsp): make the CSP docs publicly visible</title>
<updated>2012-04-30T22:37:12+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-30T22:37:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=96758c1c5277ca9041e82c4c1d2e2c473cd477b0'/>
<id>96758c1c5277ca9041e82c4c1d2e2c473cd477b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(ngSanitize): fix directive links</title>
<updated>2012-04-30T08:09:55+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-30T08:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=006fb4fbeb768e4b50659838f7587bae9847371d'/>
<id>006fb4fbeb768e4b50659838f7587bae9847371d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($parse): CSP compatibility</title>
<updated>2012-04-28T06:04:24+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-27T22:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2b87c814ab70eaaff6359ce1a118f348c8bd2197'/>
<id>2b87c814ab70eaaff6359ce1a118f348c8bd2197</id>
<content type='text'>
CSP (content security policy) forbids apps to use eval or
Function(string) generated functions (among other things). For us to be
compatible, we just need to implement the "getterFn" in $parse without
violating any of these restrictions.

We currently use Function(string) generated functions as a speed
optimization. With this change, it will be possible to opt into the CSP
compatible mode using the ngCsp directive. When this mode is on Angular
will evaluate all expressions up to 30% slower than in non-CSP mode, but
no security violations will be raised.

In order to use this feature put ngCsp directive on the root element of
the application. For example:

&lt;!doctype html&gt;
&lt;html ng-app ng-csp&gt;
  ...
  ...
&lt;/html&gt;

Closes #893
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CSP (content security policy) forbids apps to use eval or
Function(string) generated functions (among other things). For us to be
compatible, we just need to implement the "getterFn" in $parse without
violating any of these restrictions.

We currently use Function(string) generated functions as a speed
optimization. With this change, it will be possible to opt into the CSP
compatible mode using the ngCsp directive. When this mode is on Angular
will evaluate all expressions up to 30% slower than in non-CSP mode, but
no security violations will be raised.

In order to use this feature put ngCsp directive on the root element of
the application. For example:

&lt;!doctype html&gt;
&lt;html ng-app ng-csp&gt;
  ...
  ...
&lt;/html&gt;

Closes #893
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(select): properly handle empty &amp; unknown options without ngOptions</title>
<updated>2012-04-20T21:29:37+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-18T07:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=904b69c745ea4afc1d6ecd2a5f3138c6f947b157'/>
<id>904b69c745ea4afc1d6ecd2a5f3138c6f947b157</id>
<content type='text'>
Previously only when ngOptions was used, we correctly handled situations
when model was set to an unknown value. With this change, we'll add/remove
extra unknown option or reuse an existing empty option (option with value
set to "") when model is undefined.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously only when ngOptions was used, we correctly handled situations
when model was set to an unknown value. With this change, we'll add/remove
extra unknown option or reuse an existing empty option (option with value
set to "") when model is undefined.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(script): Incorrectly reading script text on ie</title>
<updated>2012-04-20T18:29:34+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-04-17T20:55:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=94dd68570952f6f31abfa351b1159afcd3588a57'/>
<id>94dd68570952f6f31abfa351b1159afcd3588a57</id>
<content type='text'>
IE deals with script tags in special way and .text() does not work. Reading the .text property directly fixes the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IE deals with script tags in special way and .text() does not work. Reading the .text property directly fixes the issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(ngBind): "angular.module.ng.$sanitize" -&gt; "angular.module.ngSanitize.$sanitize"</title>
<updated>2012-04-20T17:44:18+00:00</updated>
<author>
<name>johnlindquist</name>
</author>
<published>2012-04-18T00:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5cc245dd80f973bf812e430fc31700a27699c9ad'/>
<id>5cc245dd80f973bf812e430fc31700a27699c9ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(ngBind): "makes make" -&gt; "makes"</title>
<updated>2012-04-20T17:43:41+00:00</updated>
<author>
<name>johnlindquist</name>
</author>
<published>2012-04-12T22:23:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0c7252f929c7b7d0c718c4683a712331c6b95776'/>
<id>0c7252f929c7b7d0c718c4683a712331c6b95776</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>test(ngView): fix failing e2e tests</title>
<updated>2012-04-12T04:27:55+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-12T04:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0c49bbdc38d228c7612bbda0420e4f17ba501528'/>
<id>0c49bbdc38d228c7612bbda0420e4f17ba501528</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input.radio): support 2-way binding in a repeater</title>
<updated>2012-04-11T22:50:52+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-04-10T20:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=93d62860e988a09fb64e594f50f6cd55a1fc5748'/>
<id>93d62860e988a09fb64e594f50f6cd55a1fc5748</id>
<content type='text'>
Closes #869
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #869
</pre>
</div>
</content>
</entry>
</feed>
