| Age | Commit message (Collapse) | Author | 
 | 
Form documentation fixes:
- Fix broken form example in docs
- A few small other corrections in form docs.
 | 
 | 
Modify the documentation for $http to correspond to what Angular
considers a success status code.
Closes #1693
 | 
 | 
 | 
 | 
Closes #1715
 | 
 | 
Routes like '/bar/foovalue/barvalue' matching '/bar/:foo/:bar'
now are well mapped in $routeParams to:
{bar:'barvalue', foo:'foovalue'}
Closes: #1501
Signed-off-by: Gonzalo Ruiz de Villa <gonzaloruizdevilla@gmail.com>
 | 
 | 
 | 
 | 
 | 
 | 
Should be $httpBackend instead of $httpBacked
Closes #1516
 | 
 | 
Clarify how to use `$exceptionHandlerProvider.mode('log')` in tests
 | 
 | 
 | 
 | 
Closes #1599
 | 
 | 
Closes #1553
 | 
 | 
`injector.instantiate` is now called for arrays too, instead of only for functions.
Closes #1452
 | 
 | 
Perform call `angular.uppercase` on all given action methods.
Closes #1403
 | 
 | 
Moved Resource.bind out of the actions forEach
 | 
 | 
Due to bd524fc4 calling $destroy() on a scope mupltiple times cases NPE.
Closes #1627
 | 
 | 
Closes #1111
 | 
 | 
We need to watch $index in addition to cssClasses because only then
we can correctly respond to shrinking or reordered repeaters.
Closes #1076
 | 
 | 
selector => cssClasses
 | 
 | 
I'm reverting changes that were originally done to ngRepeat to fix #933,
because these are now not necessary after the previous changes to keep
ngModel always synced with the DOM.
 | 
 | 
In cases when we reuse elements in a repeater but associate
them with a new scope (see #933 - repeating over array of
primitives) it's possible for the internal ngModel state and
the scope state to get out of sync. This change ensure that
the two are always sync-ed up even in cases where we
reassociate an element with a different (but similar) scope.
In the case of repeating over array of primitives it's still
possible to run into issue if we iterate over primitives and
use form controls or similar widgets without ngModel - oh well,
we'd likely need a special repeater for primitives to deal
with this properly, even then there might be cornercases.
Closes #933
 | 
 | 
I'm keeping this in for future reference. The issue with this solution
is that if we shift() the first item in the array, the whole repeater
DOM will be rebuilt from scratch, we need to do better than that.
 | 
 | 
in jQuery 1.8.x the data() data structure is changed and events are
not accessible via data().events. Since all we need is to trigger
all event handlers, we can do so via triggerHandler() api instead of
mocking with the internal jQuery data structures.
This fix was originally proposed by PeteAppleton via PR #1512.
Closes #1512
 | 
 | 
we need triggerHandler() to become jQuery 1.8.x compatible.
this is not fully featured triggerHandler() implementation - it doesn't
bother creating new DOM events and passing them into the event handlers.
this is intentional, we don't need access to the native DOM event for our
own purposes and creating these event objects is really tricky.
 | 
 | 
 | 
 | 
Closes #1202
 | 
 | 
Instead of throwning an exception, remove should return undefined when
cache entry to be removed doesn't exist.
Closes #1497
 | 
 | 
Having a $resource defined as:
var R = $resource('/Path', {}, {
  get: {method: 'GET', params: {objId: '1'}},
  perform: {method: 'GET'}
});
was causing both actions to call the same URI (if called in this order):
R.get({}); // => /Path?objId=1
R.perform({}); // => /Path?objId=1
 | 
 | 
 | 
 | 
 | 
 | 
Under certain circumstances chrome fails to GC scopes
because of buggy optimizations and caching. Nulling out
references to (not from!) other scopes helps Chrome to
realize that this object should be GC-ed.
This is really just a workaround as the real problem needs
to be fixed in Chrome.
See discusstion at:
https://github.com/angular/angular.js/issues/1313#issuecomment-10378451
And chrome bug at:
https://code.google.com/p/v8/issues/detail?id=2073
Closes #1313
 | 
 | 
This reverts commit b936e52874fe0173c6d4ba0a84f45deac67518ac.
This commit introduces a feature and should haven't been merged
into the stable branch.
 | 
 | 
 | 
 | 
The cancel function accepts a Promise, but the timeout function
fails to specify returning a Promise.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Bug caused by the use of the `||` operator to replace all non-truthy
values with an empty string. Changed to replace only `undefined` values.
Closes #1401
 | 
 | 
 | 
 | 
Prefixed attributes like data-ng-model and x-ng-model were not being
found by the Selector. It was only looking at ng: and ng- prefixed
attributes.
Added a few tests as well to ensure the aforementioned prefixed
attributes are being matched properly.
Closes #1020
 | 
 | 
if className is undefined or empty string, don't bother looking for directives in there
 | 
 | 
if a node doesn't have children then don't try to compile these non-existent children
 | 
 | 
 | 
 | 
 | 
 | 
This fixes the issue that caused two attr interpolation observers
to be registered for the same attribute as a result of isolate
scope definition with attr (@) property for this attribute.
Duplicate observers would then fight with each other updating the
model.
The issue occured only when this directive was used in a repeater
because that's when we clone the template node which caused the
two observers to point to two different sets of $attr instances.
Closes #1166, #836
 | 
 | 
IEEE 754 floating point sometimes results in values that are very small,
rather than zero. One example is 1.0 + 1.07 - 2.07, which returns
4.440892098500626e-16 instead of 0.
This change tweaks the number formatting logic so that an exponential
value with a negative exponent that is larger than the precision+1
returns 0 instead. For example: with precision 2, anything with an
exponent of -4, -5 or more would become 0. 9e-3 = 0.009 = 0.01, but 9e-4
= 0.0009 = 0.001 = 0.00. This detail is unlikely to matter since this
quirk is usually only triggered with values very close to zero.
Closes #1469
 | 
 | 
This was really corner case:
Watcher needs to return changed value, to notify that model might have changed and one more $digest cycle needs to be performed.
The watcher, that takes care of reference binding into an isolate scope ("="), did not return changed value, if the change was from the isolate scope to the parent.
If any other watcher returned change, it worked fine, as this change caused re-digest.
Closes #1272
 | 
 | 
 | 
 | 
 | 
 | 
 |