Skip to content

Commit

Permalink
fix(docs): Removed an incorrect semi-colon
Browse files Browse the repository at this point in the history
Function ui.router.router.$urlRouter#sync had an example with an incorrect semi-colon. Removed to avoid confusion.
  • Loading branch information
dvanwinkle committed Aug 1, 2014
1 parent 5e88789 commit af97cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urlRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function $UrlRouterProvider( $locationProvider, $urlMatcherFactory) {
*
* @example
* <pre>
* 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
Expand Down

0 comments on commit af97cef

Please sign in to comment.