style($route): fix line length

This commit is contained in:
Pete Bacon Darwin 2013-10-24 22:36:05 +01:00
parent 76b628bcb3
commit 82dec9b81e

View file

@ -89,12 +89,14 @@ function $RouteProvider(){
* `$location.path()` by applying the current route * `$location.path()` by applying the current route
* *
* - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should * - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should
* be injected into the controller. If any of these dependencies are promises, the router will * be injected into the controller. If any of these dependencies are promises, the router
* wait for them all to be resolved or one to be rejected before the controller is instantiated. * will wait for them all to be resolved or one to be rejected before the controller is
* If all the promises are resolved successfully, the values of the resolved promises are injected * instantiated.
* and {@link ngRoute.$route#$routeChangeSuccess $routeChangeSuccess} event is fired. * If all the promises are resolved successfully, the values of the resolved promises are
* If any of the promises are rejected the {@link ngRoute.$route#$routeChangeError $routeChangeError} * injected and {@link ngRoute.$route#$routeChangeSuccess $routeChangeSuccess} event is
* event is fired. The map object is: * fired. If any of the promises are rejected the
* {@link ngRoute.$route#$routeChangeError $routeChangeError} event is fired. The map object
* is:
* *
* - `key` `{string}`: a name of a dependency to be injected into the controller. * - `key` `{string}`: a name of a dependency to be injected into the controller.
* - `factory` - `{string|function}`: If `string` then it is an alias for a service. * - `factory` - `{string|function}`: If `string` then it is an alias for a service.