Skip to content

Commit

Permalink
fix(example): use window['@uirouter/visualizer']
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Jan 31, 2018
1 parent f464d28 commit 5e1b228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/hello.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ myApp.config(function($stateProvider) {


myApp.run(function($http, $rootScope, $uiRouter) {
var Visualizer = window['ui-router-visualizer'].Visualizer;
var Visualizer = window['@uirouter/visualizer'].Visualizer;
var visPlugin = $uiRouter.plugin(Visualizer);

$http.get('data/people.json', { cache: true });
Expand Down

0 comments on commit 5e1b228

Please sign in to comment.