Skip to content

Commit

Permalink
Add annotations for the injector.
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Apr 1, 2015
1 parent fe41a70 commit e80e52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rd_ui/app/scripts/controllers/query_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
templateUrl: '/views/schedule_form.html',
size: 'sm',
scope: $scope,
controller: function($scope, $modalInstance) {
controller: ['$scope', '$modalInstance', function($scope, $modalInstance) {
$scope.close = function() {
$modalInstance.close();
}
Expand All @@ -191,7 +191,7 @@
} else {
$scope.refreshType = 'periodic';
}
}
}]
});
};

Expand Down

0 comments on commit e80e52f

Please sign in to comment.