Initial version of the angular app.

This commit is contained in:
yackob03 2013-09-24 18:21:14 -04:00
parent e107d79612
commit 995ad8b679
7 changed files with 90 additions and 10 deletions

10
static/js/controllers.js Normal file
View file

@ -0,0 +1,10 @@
function RepoListCtrl($scope, Restangular) {
var repositoryFetch = Restangular.all('repository/');
repositoryFetch.getList().then(function(resp) {
$scope.repositories = resp.repositories;
});
}
function LandingCtrl($scope) {
}