aboutsummaryrefslogtreecommitdiffstats
path: root/src/auto
AgeCommit message (Collapse)Author
2014-02-26docs($injector): fix typodesertapple
Duplicate 'that' words present in the document, just remove one of them. Closes #6469
2014-02-26docs(*): fix jsdoc type expressionsPeter Bacon Darwin
These errors in the docs were preventing some parts of the docs from being parsed.
2014-02-21docs(*): fix anchors for members in api docsPeter Bacon Darwin
2014-02-18style: remove ws and enfore no-trailing-ws jscs ruleIgor Minar
2014-02-16docs(injector): move angular.injector to the ng modulePeter Bacon Darwin
Even though it is defined in the auto folder, it makes more sense for this function to appear in the ng module in the docs.
2014-02-16docs(all): convert <pre>/</pre> snippets to GFM snippetsCaitlin Potter
2014-02-16docs(bike-shed-migration): convert doctype and namesPeter Bacon Darwin
2014-02-06docs(injector): correct typo in examplesunderls
$provide misused into $provider maybe this should be corrected I think Closes #6146
2014-01-29docs($provide): return instance of Ping, rather than constructorClark Pan
Updating $provide.service method docs The previous example provided for the service method did not work. I've updated the example to a working example. I think this version of the example will probably make more sense to most people, and the factory method would be a better place for this sort of example. Closes #6008
2014-01-18docs($provide): fix Markdown formatting for provider methodVlad GURDIGA
Indentation made Markdown parser think that it’s a block of code. Closes #5446
2014-01-13docs(provider): replaced coffeescript with comparable javascript exampleLukas Ruebbelke
2013-12-31fix($injector): remove INSTANTIATING entry when doneMatt Ginzton
getService flags services as INSTANTIATING while it calls their provider factory, in order to detect circular dependencies. If the service is instantiated correctly, the INSTANTIATING flag is overwritten with the actual service. However, if the service is not instantiated correctly, the INSTANTIATING flag should still be removed, or all further requests for this service will be mis-detected as a circular dependency. Closes #4361 Closes #5577
2013-12-19docs($injector): use correct spacing convention for CoffeeScript functionsmkolodny
This convention is exhibited by http://coffeescript.org/ and https://github.com/polarmobile/coffeescript-style-guide#functions. Closes #5354
2013-12-12style($injector): remove wsIgor Minar
2013-12-12perf($injector): remove invoke optimization that doesn't workBen Wiklund
Closes #5388
2013-12-09docs($injector): add example on how to use the element.injectorJoscha Feth
Closes #5188
2013-11-27docs($injector): use square bracket notation for $inject annotationPete Bacon Darwin
Closes #5104
2013-11-20docs(api): example for $provide.value() uses $provide.value()jbnizet
The example code for `$provide.value()` actually used `$provide.constant()`. It now uses `$provide.value()`. Closes #4983 Closes #4990
2013-10-28docs($provide): fix link to factory sectionPete Bacon Darwin
2013-10-24docs($provide): Fix typoPete Bacon Darwin
Closes #4420
2013-10-22style: make jshint happyVojta Jina
2013-10-18docs: correct broken linksVojta Jina
This also contains some whitespace corrections by my editor.
2013-10-18fix($injector): allow a constructor function to return a functionVojta Jina
This change makes `$injector.instantiate` (and thus `$provide.service`) to behave the same as native `new` operator.
2013-10-10docs($provide): improve docs and examples furtherPete Bacon Darwin
Improve the "tracking" service example by adding a configuration option. Get better formatting of the generated code samples using <pre> tags. Move the detailed explanations into each function's documentation block. Improve the overview and list the constituent functions by significance. Closes #4302
2013-10-10docs($provide): improve examples and explanationsTim Ruffles
$provide's example seems awkward. Replace with more real-world example, using an injected service, where the service defined has a good reason to be a singleton. There's quite a lot of confusion around $provide: http://stackoverflow.com/search?q=angularjs+service+vs+factory Tests for example at: http://jsbin.com/EMabAv/1/edit?js,output
2013-10-07fix(*): protect calls to hasOwnProperty in public APIPeter Bacon Darwin
Objects received from outside AngularJS may have had their `hasOwnProperty` method overridden with something else. In cases where we can do this without incurring a performance penalty we call directly on Object.prototype.hasOwnProperty to ensure that we use the correct method. Also, we have some internal hash objects, where the keys for the map are provided from outside AngularJS. In such cases we either prevent `hasOwnProperty` from being used as a key or provide some other way of preventing our objects from having their `hasOwnProperty` overridden. BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside form or ngForm directives. Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added to the scope. Now a badname exception is thrown. Using "hasOwnProperty" for an input name would be very unusual and bad practice. Either do not include such an input in a `form` or `ngForm` directive or change the name of the input. Closes #3331
2013-09-30docs($injector): Reword `fn` param docs and link to DI informationCaitlin Potter
2013-08-16fix($injector): don't parse fns with no argsIgor Minar
When annotating a fn, it is wasteful to try to parse a fn that has no arguments as such fn has no injectable dependencies
2013-07-27docs(*): fixed typos and ngdoc parameter namesCarl Danley
2013-07-02fix($injector): refactor module loading code and use minErrIgor Minar
2013-06-17chore(minErr): replace ngError with minErrKen Sheedlo
2013-05-24feat(ngError): add error message compression and better error messagesIgor Minar
- add toThrowNg matcher
2013-05-06docs(injector): add docs for $injector.hasMisko Hevery
2013-05-02feat(injector): add has method for queryingMisko Hevery
Closes #2556
2013-05-01docs(injector): fix typoSiddique Hameed
Closes: #2551
2013-04-30style($injector): add a comment to explain the distinction with isArrayRobin Böhm
2013-04-30docs($provide): fix parentheses in exampleEugene Wolfson
2013-04-17docs(injector): fix typo in inlining example@fbiville
The actual invoke call in the documentation was referring to the non-existent tempFn instead of tmpFn
2013-04-11docs($inject): wording changeBrent Morrow
2013-03-12docs($injector): correct misuse of $injectArlen Christian Mart Cuss
$inject was used where $injector was appropriate; confusing and misleading.
2013-03-08docs($injector): remove extranneous 'the' from injector docsJason Morrison
2013-01-24docs($injector): clarify $inject property descriptionVineet Kumar
Section heading about `$inject` property refers to it as `$injector` property.
2013-01-08fix($injector): remove bogus fn argIgor Minar
getService fn takes only one argument, removing the second one. Closes #1711
2012-12-01fix($injector): provider can now be defined in the array formatSudhir Jonathan
`injector.instantiate` is now called for arrays too, instead of only for functions. Closes #1452
2012-10-31chore(injector): fix typo in injector documentationsqwishy trick
2012-09-06fix($injector): more conservative annotation parsingMisko Hevery
2012-07-19refactor($injector): move $injector into the providerCacheJP Sugarbroad
Better than special-casing '$injector' in createInjector.
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-02docs(dependency injecton): rewriteMisko Hevery
2012-06-01feat($injector): provide API for retrieving function annotationsMisko Hevery