Skip to content

Commit af97cef

Browse files
committed
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.
1 parent 5e88789 commit af97cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/urlRouter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ function $UrlRouterProvider( $locationProvider, $urlMatcherFactory) {
315315
*
316316
* @example
317317
* <pre>
318-
* angular.module('app', ['ui.router']);
318+
* angular.module('app', ['ui.router'])
319319
* .run(function($rootScope, $urlRouter) {
320320
* $rootScope.$on('$locationChangeSuccess', function(evt) {
321321
* // Halt state change from even starting

0 commit comments

Comments
 (0)