angular.js/test
Luis Ramón López cf17c6af47 feat($compile): add attribute binding support via ngAttr*
Sometimes is not desirable to use interpolation on attributes because
the user agent parses them before the interpolation takes place. I.e:

<svg>
  <circle cx="{{cx}}" cy="{{cy}}" r="{{r}}"></circle>
</svg>

The snippet throws three browser errors, one for each attribute.

For some attributes, AngularJS fixes that behaviour introducing special
directives like ng-href or ng-src.

This commit is a more general solution that allows prefixing any
attribute with "ng-attr-", "ng:attr:" or "ng_attr_"  so it will
be set only when the binding is done. The prefix is then removed.

Example usage:

<svg>
  <circle ng-attr-cx="{{cx}}" ng-attr-cy="{{cy}}" ng:attr-r="{{r}}"></circle>
</svg>

Closes #1050
Closes #1925
2013-02-27 00:55:40 -08:00
..
auto fix($injector): provider can now be defined in the array format 2012-12-01 18:41:59 +01:00
bootstrap feat(bootstrap): support code prettify and dropdown from bootstrap 2012-05-04 15:50:37 -07:00
ng feat($compile): add attribute binding support via ngAttr* 2013-02-27 00:55:40 -08:00
ngCookies chore(ngCookies): moved to module 2012-03-28 11:16:36 -07:00
ngMock feat(dateFilter): add [.,]sss formatter for milliseconds 2013-02-07 02:28:33 -08:00
ngResource fix($http): don't encode URL query substring "null" to "+" 2013-02-26 17:25:15 -08:00
ngSanitize test(ngBindHtml): prevent variable name leak 2013-01-29 13:26:06 -08:00
ngScenario fix(scenario): include error messages in XML output 2013-02-07 04:09:52 -08:00
AngularSpec.js fix($http): don't encode URL query substring "null" to "+" 2013-02-26 17:25:15 -08:00
ApiSpecs.js fix(ngRepeat): now works with primitive types 2012-09-06 16:06:21 -07:00
BinderSpec.js feat($interpolate): provide contextual error messages 2012-08-30 14:50:22 -07:00
jqLiteSpec.js fix(jqLite): children() should only return elements 2013-01-09 09:22:35 +00:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js chore(matchers): fix hasBeenCalledOnceWith matcher 2013-02-11 22:13:15 -08:00
testabilityPatch.js chore(sortedHtml): print attributes with empty value 2013-02-25 21:38:29 -08:00