angular prototype

This commit is contained in:
Jeremie Panzer
2013-03-21 16:22:58 +01:00
parent a5ac6b9c44
commit 0161de1f13
19 changed files with 508 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
var app = angular.module('commafeed', [ 'commafeed.directives',
'commafeed.controllers' ]);
app.config([ '$routeProvider', function($routeProvider) {
$routeProvider.when('/feeds/view/:_type/:_id', {
templateUrl : 'templates/feeds.html'
});
$routeProvider.otherwise({
redirectTo : '/feeds/view/category/all'
});
} ]);