diff options
| author | Vlad GURDIGA | 2013-12-17 06:22:43 +0200 | 
|---|---|---|
| committer | Caitlin Potter | 2014-01-18 22:09:56 -0500 | 
| commit | 99c5027bf26fa1e14611eb38b8ad9d0197784897 (patch) | |
| tree | 4c0e9137b858cb65e0a15749651b9b0faed8af7e | |
| parent | 90e60d2d54ddadf29e5b7c52ac16b3c0f52b4650 (diff) | |
| download | angular.js-99c5027bf26fa1e14611eb38b8ad9d0197784897.tar.bz2 | |
docs($provide): fix Markdown formatting for provider method
Indentation made Markdown parser think that it’s a block of code.
Closes #5446
| -rw-r--r-- | src/auto/injector.js | 8 | 
1 files changed, 3 insertions, 5 deletions
| diff --git a/src/auto/injector.js b/src/auto/injector.js index b14b8af2..becc878d 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -354,11 +354,9 @@ function annotate(fn) {   * @param {(Object|function())} provider If the provider is:   *   *   - `Object`: then it should have a `$get` method. The `$get` method will be invoked using - *               {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be - *               created. - *   - `Constructor`: a new instance of the provider will be created using - *               {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as - *               `object`. + *     {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be created. + *   - `Constructor`: a new instance of the provider will be created using                      + *     {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as `object`.   *   * @returns {Object} registered provider instance | 
