angular.js/test
quazzie c32a859bdb feat(select): match options by expression other than object identity
Extend ng-options with a new clause, "track by [trackByExpression]", which can be used when
working with objects.  The `trackByExpression` should uniquely identify select options objects.
This solves the problem of previously having to match ng-options objects by identity.
You can now write: `ng-options="obj as obj.name for obj in objects track by obj.id"`
The "track by" expression will be used when checking for equality of objects.

Examples:
<select
    ng-model="user.favMovieStub"
    ng-options="movie as movie.name for movie in movies track by movie.id">
</select>

scope: {
  user: { name: 'Test user', favMovieStub: { id: 1, name: 'Starwars' } }
  movies: [{ id: 1, name: 'Starwars', rating: 5, ... }, { id: 13, ... }]
}

The select input will match user favMovieStub to the first movie in the movies array, and show
"Star Wars" as the selected item.
2013-05-14 19:58:05 +01:00
..
auto feat(injector): add has method for querying 2013-05-02 15:22:16 -04:00
bootstrap feat(bootstrap): support code prettify and dropdown from bootstrap 2012-05-04 15:50:37 -07:00
ng feat(select): match options by expression other than object identity 2013-05-14 19:58:05 +01:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMobile/directive feat(ngTap): Add a CSS class while the element is held down. 2013-04-30 16:56:24 -07:00
ngMock feat(dateFilter): add [.,]sss formatter for milliseconds 2013-02-07 02:28:33 -08:00
ngResource feat(http): support request/response promise chaining 2013-03-27 13:13:59 -07:00
ngSanitize test(ngBindHtml): prevent variable name leak 2013-01-29 13:26:06 -08:00
ngScenario feat(Scenario): autodisable animations when running e2e tests 2013-04-03 17:40:15 -07:00
AngularSpec.js fix(angular): do not copy $$hashKey in copy/extend functions. 2013-05-08 12:45:32 +01:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js test(sortedHtml): fix comment support in sortedHtml helper 2013-05-08 07:57:34 -07:00
jqLiteSpec.js fix(jqLite): correct implementation of mouseenter/mouseleave event 2013-04-29 18:26:32 +01: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 test(sortedHtml): ignore bogus rowspan=1 and colspan=1 in IE 2013-05-08 07:57:34 -07:00