| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-03-28 | chore(module): move files around in preparation for more modules | Misko Hevery | |
| 2012-03-16 | feat(injector): infer _foo_ as foo | Igor Minar | |
| this is to enable nicer tests: describe('fooSvc', function() { var fooSvc; beforeEach(inject(function(_fooSvc_) { fooSvc = _fooSvc_; })); it('should do this thing', function() { //test fooSvc }); }); | |||
| 2012-03-09 | feat($provide.service): Add $provide.service() for registering a class | Vojta Jina | |
| 2012-03-09 | refactor($provide) Rename service -> provider | Vojta Jina | |
| It registers a provider class, so this makes more sense. Breaks Rename $provide.service -> $provide.provider | |||
| 2012-03-08 | fix(test): rename an it so that it doesn't colide with the test above | Igor Minar | |
| 2012-02-22 | feat($provide): added constant | Misko Hevery | |
| 2012-02-22 | fix($injector): circular dependency instatiation | Misko Hevery | |
| 2012-02-16 | fix(injector) .instantiate([Type]) produced wrong result | Misko Hevery | |
| 2012-02-08 | fix($injector): instantiate returns instance, if non-object value returned ↵ | Vojta Jina | |
| from constructor | |||
| 2012-01-25 | fix(injector): small perf improvement & code cleanup | Igor Minar | |
| 2012-01-13 | feat(module): add runtime block | Misko Hevery | |
| 2012-01-12 | refactor(module): strict separation between module-config / app-runtime | Misko Hevery | |
| 2012-01-10 | feat(module): new module loader | Misko Hevery | |
| 2011-12-07 | feat(injector): add $provide.decorator | Igor Minar | |
| 2011-12-07 | style(injector): cleanup of InjectorSpec.js | Igor Minar | |
| 2011-11-14 | refactor(injector): $injector is no longer a function. | Misko Hevery | |
| - $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn); | |||
| 2011-11-14 | del($eager): removed the support for $eager services | Misko Hevery | |
| 2011-11-14 | refactor(services): migrate angular.service -> module | Misko Hevery | |
| 2011-11-14 | refactor(injector): switch to injector 2.0 introduce modules | Misko Hevery | |
| 2011-11-14 | new(injector): new injector v2.0 | Misko Hevery | |
| - not connected to keep the CL small | |||
| 2011-11-14 | feat(injector): support $inject(fn($service){}) function invocation | Misko Hevery | |
| 2011-11-14 | feat(injector): support ['$service', function($service){}] annotations for ↵ | Misko Hevery | |
| function invocation. | |||
| 2011-11-14 | feat(injector): Service look up failures include dependency path | Misko Hevery | |
| 2011-11-14 | refactor(injector): turn scope into a service | Misko Hevery | |
| - turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method | |||
| 2011-10-11 | chore(formating): clean code to be function() { | Misko Hevery | |
| 2011-10-11 | refactor(injection) infer injection args in ng:controller only | Misko Hevery | |
| Because only controllers don't have currying, we can infer its arguments, all other APIs needing currying, automatic inference complicates the matters unecessary. | |||
| 2011-07-18 | feat(strict mode): adding strict mode flag to all js files | Igor Minar | |
| 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 | |||
| 2011-06-27 | fix:tests: replace angular.annotate with annotate | Igor Minar | |
| forgot to fix tests in 6aee2938a71c99fdd35639725c6900347999f658 | |||
| 2011-06-08 | Refactor injector to have invoke method for speed reasons | Misko Hevery | |
| 2011-03-28 | fixing lint warnings | Igor Minar | |
| 2011-02-27 | adding an extra injector spec | Igor Minar | |
| - added a spec for dependency graph resolution - also simplyfying cache presence check | |||
| 2011-02-18 | replace smart-quotes with regular quotes | Misko Hevery | |
| 2011-02-18 | Auto create $inject property form the argument names. Any arg starting with ↵ | Misko Hevery | |
| $ or _ will be injected | |||
| 2011-01-04 | renaming service property $creation to $eager | Igor Minar | |
| see changelog diff for more info | |||
| 2011-01-04 | removing support for 'eager-published' services | Igor Minar | |
| 2010-10-12 | Introduced injector and $new to scope, and injection into link methods and ↵ | Misko Hevery | |
| 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) | |||
