From f7d28cd377f06224247b950680517a187a7b6749 Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Thu, 6 Feb 2014 14:02:18 +0000 Subject: docs(all): convert
/snippets to GFM snippets --- src/ngRoute/routeParams.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ngRoute/routeParams.js') 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 - *
+ * ```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'}
- *
+ * ```
*/
function $RouteParamsProvider() {
this.$get = function() { return {}; };
--
cgit v1.2.3