From af97cef8b967f2e32177e539ef41450dca131a7d Mon Sep 17 00:00:00 2001 From: Dan VanWinkle Date: Fri, 1 Aug 2014 10:26:02 -0400 Subject: [PATCH] fix(docs): Removed an incorrect semi-colon Function ui.router.router.$urlRouter#sync had an example with an incorrect semi-colon. Removed to avoid confusion. --- src/urlRouter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/urlRouter.js b/src/urlRouter.js index eec2dfa22..6acc11fb6 100644 --- a/src/urlRouter.js +++ b/src/urlRouter.js @@ -315,7 +315,7 @@ function $UrlRouterProvider( $locationProvider, $urlMatcherFactory) { * * @example *
-       * angular.module('app', ['ui.router']);
+       * angular.module('app', ['ui.router'])
        *   .run(function($rootScope, $urlRouter) {
        *     $rootScope.$on('$locationChangeSuccess', function(evt) {
        *       // Halt state change from even starting