aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/routeParams.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngRoute/routeParams.js')
-rw-r--r--src/ngRoute/routeParams.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngRoute/routeParams.js b/src/ngRoute/routeParams.js
index 977a26bc..81347bae 100644
--- a/src/ngRoute/routeParams.js
+++ b/src/ngRoute/routeParams.js
@@ -27,14 +27,14 @@ ngRouteModule.provider('$routeParams', $RouteParamsProvider);
* Instead you can use `$route.current.params` to access the new route's parameters.
*
* @example
- * <pre>
+ * ```js
* // Given:
* // URL: http://server.com/index.html#/Chapter/1/Section/2?search=moby
* // Route: /Chapter/:chapterId/Section/:sectionId
* //
* // Then
* $routeParams ==> {chapterId:1, sectionId:2, search:'moby'}
- * </pre>
+ * ```
*/
function $RouteParamsProvider() {
this.$get = function() { return {}; };