docs($provide): fix Markdown formatting for provider method

Indentation made Markdown parser think that it’s a block of code.

Closes #5446
This commit is contained in:
Vlad GURDIGA 2013-12-17 06:22:43 +02:00 committed by Caitlin Potter
parent 90e60d2d54
commit 99c5027bf2

View file

@ -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