Display and edit language on document (client)

This commit is contained in:
jendib
2013-08-17 01:48:33 +02:00
parent 82682600df
commit 7bb1f48464
8 changed files with 43 additions and 19 deletions
@@ -46,7 +46,10 @@ App.controller('DocumentEdit', function($scope, $q, $http, $state, $stateParams,
$scope.document = data;
});
} else {
$scope.document = { tags: [] };
$scope.document = {
tags: [],
language: 'fra'
};
}
/**