admin interface

This commit is contained in:
Athou
2013-03-29 17:17:36 +01:00
parent 70739a22af
commit 578583da59
11 changed files with 3730 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
var app = angular.module('commafeed', [ 'ui', 'ui.bootstrap', 'ui.state',
'commafeed.directives', 'commafeed.controllers', 'commafeed.services',
'ngSanitize', 'ngUpload', 'infinite-scroll' ]);
'ngSanitize', 'ngUpload', 'infinite-scroll', 'ngGrid' ]);
app.config(function($routeProvider, $stateProvider, $urlRouterProvider) {
$stateProvider.state('feeds', {
@@ -20,6 +20,7 @@ app.config(function($routeProvider, $stateProvider, $urlRouterProvider) {
});
$stateProvider.state('admin.users', {
url : '/users',
controller : 'ManageUsersCtrl',
templateUrl : 'templates/admin.users.html'
});