nitweb/angular: add /module/:full_name page
[nit.git] / share / nitweb / javascripts / nitweb.js
index da5af24..9a4aa16 100644 (file)
                                controller: 'EntityCtrl',
                                controllerAs: 'entityCtrl'
                        })
+                       .when('/module/:id', {
+                               templateUrl: 'views/module.html',
+                               controller: 'EntityCtrl',
+                               controllerAs: 'entityCtrl'
+                       })
                        .otherwise({
                                redirectTo: '/'
                        });