Skip to content

Commit

Permalink
fix - example controller
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-szymanek committed Dec 21, 2015
1 parent a9f0fd8 commit 015b636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/example.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
.module('angular-fancytree')
.controller('ExampleController', ExampleController);

ExampleController.$inject = ['fancytreeFactory'];
ExampleController.$inject = ['$injector', 'fancytreeFactory'];

/* @ngInject */
function ExampleController(fancytreeFactory) {
function ExampleController($injector, fancytreeFactory) {

// Passing fancytree options
// second arg is fancytree's element id
Expand Down

0 comments on commit 015b636

Please sign in to comment.