| Age | Commit message (Collapse) | Author | 
|---|
|  | defaults definned per action should take precedence over defaults
defined for the whole resource.
This is potentialy a BREAKING CHANGE in case someone relied on the buggy
behavior. | 
|  | all $xhr*, $resource and related mocks now have access to headers from
their callbacks | 
|  | two arguments | 
|  | Closes #408 | 
|  | the flag must be in all src and test files so that we get the benefit of
running in the strict mode even in jstd
the following script was used to modify all files:
for file in `find src test -name "*.js"`; do
  echo -e "'use strict';\n" > temp.txt
  cat $file >> temp.txt
  mv temp.txt $file
done | 
|  | As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith() | 
|  | succcess callbacks should be executed for status codes in the range
of <200,300). | 
|  |  | 
|  |  | 
|  | If the server provides response with no body to a resource request,
resource should not mutate the resource model in the callback. | 
|  |  | 
|  | So that my eclipse stops complaining... | 
|  | angular.compile()() returns {scope:scope, view:view},
this isn't useful at all and only makes tests more verbose.
Instead, this change makes the linking function return scope directly
and if anyone needs the linked dom there are two ways to do it
documented in angular.compile.
other changes:
- moved angular.compile docs to the compiler so that they are closer to
  the compiler
- fixed some typos and updated angular.compile docs with the new return
  value | 
|  | - added encodeUriSegment that properly encodes only those chars
  that URI RFC requires us to encode
- modified Resource to use encodeUriSegment | 
|  |  | 
|  |  | 
|  | see changelog diff for more info | 
|  |  | 
|  | - Closes #152 ($resource().query() sometimes calls callback before
  returning, and it shouldn't)
- add $browser.defer method
- add $defer service
- integrate $browser.defer with outstandingRequests counter in $browser
- fix all old tests that relied on buggy behavior | 
|  | - Delete $postEval method, as it was a hack | 
|  | controllers
  - added angular.injector(scope, services, instanceCache) which returns inject
    - inject method can return, instance, or call function which have $inject
      property
    - initialize services with $creation=[eager|eager-publish] this means that
      only some of the services are now globally accessible
  - upgraded $become on scope to use injector hence respect the $inject property
    for injection
    - $become should not be run multiple times and will most likely be removed
      in future version
  - added $new on scope to create a child scope
     - $inject is respected on constructor function
  - simplified scopes so that they no longer have separate __proto__ for
    parent, api, behavior and instance this should speed up execution since
    scope will now create one __proto__ chain per scope (not three).
BACKWARD COMPATIBILITY WARNING:
  - services now need to have $inject instead of inject property for proper
    injection this breaks backward compatibility
  - not all services are now published into root scope
    (only: $location, $cookie, $window)
  - if you have widget/directive which uses services on scope
    (such as this.$xhr), you will now have to inject that service in
    (as it is not published on the root scope anymore) | 
|  | "partials". The pattern is demostrated in the unittest:
Resource.query returns a list of "keys" to resources, which are
partially defined. They have enough data to allow $get to fetch the
whole gamout. Then $get fetches all the details of the resource. | 
|  | underscore.js compatibility | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | Conflicts:
	.gitignore | 
|  |  | 
|  |  | 
|  |  | 
|  | everything runs as last spec context. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  |