nitweb: replace ngRouter by ui.router
[nit.git] / share / nitweb / javascripts / index.js
index 534f462..86f9902 100644 (file)
@@ -22,7 +22,7 @@
                        $anchorScroll.yOffset = 80;
                }])
 
-               .controller('IndexCtrl', ['Catalog', '$routeParams', '$sce', '$scope', '$location', '$anchorScroll', function(Catalog, $routeParams, $sce, $scope, $location, $anchorScroll) {
+               .controller('IndexCtrl', ['Catalog', '$sce', '$scope', '$location', '$anchorScroll', function(Catalog, $sce, $scope, $location, $anchorScroll) {
                        this.loadHighlighted = function() {
                                Catalog.loadHightlighted(
                                        function(data) {