2013-03-22 09:29:30 +01:00
|
|
|
var app = angular
|
|
|
|
|
.module('commafeed', [ 'ui', 'ui.bootstrap', 'commafeed.directives',
|
2013-03-22 20:51:22 +01:00
|
|
|
'commafeed.controllers', 'commafeed.services', 'ngSanitize' ]);
|
2013-03-21 16:22:58 +01:00
|
|
|
|
|
|
|
|
app.config([ '$routeProvider', function($routeProvider) {
|
|
|
|
|
$routeProvider.when('/feeds/view/:_type/:_id', {
|
|
|
|
|
templateUrl : 'templates/feeds.html'
|
|
|
|
|
});
|
|
|
|
|
$routeProvider.otherwise({
|
|
|
|
|
redirectTo : '/feeds/view/category/all'
|
|
|
|
|
});
|
|
|
|
|
} ]);
|