aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular-bootstrap.js
AgeCommit message (Collapse)Author
2010-10-12Introduced 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)
2010-07-29fix broken build, fix #autobind and css loadingMisko Hevery
2010-07-29refactored $location service so that it correctly updates under all conditionsMisko Hevery
2010-05-28change order of initializationMisko Hevery
2010-04-09various bug fixesMisko Hevery
2010-04-05added hover serviceMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-04-03browser is now injectable into the systemMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-04-01work on $location and autobindMisko Hevery
2010-03-26moved all uneeded files out, widgets.html works, tests horribly brokenMisko Hevery
2010-03-16twitter using resourcesAdam Abrons
2010-01-29added bootstrap, fixed formatterMisko Hevery
2010-01-18checkpoint for integration with angularMisko Hevery
2010-01-11all files converted to prototype= {}Misko Hevery
2010-01-09removed nglr namespaceMisko Hevery
2010-01-08created a way to init the code without autobootstrapMisko Hevery
2010-01-05angular.jsAdam Abrons