nitweb: replace ngRouter by ui.router
[nit.git] / share / nitweb / javascripts / docdown.js
index 365b8c9..3a352ac 100644 (file)
@@ -18,7 +18,7 @@
        angular
                .module('docdown', ['model', 'ngSanitize'])
 
-               .controller('DocdownCtrl', ['$routeParams', '$sce', '$scope', '$location', 'DocDown', function($routeParams, $sce, $scope, $location, DocDown) {
+               .controller('DocdownCtrl', ['$sce', '$scope', '$location', 'DocDown', function($sce, $scope, $location, DocDown) {
 
                        this.updateSnippet = function() {
                                this.updateLink();