// Récupération des référentiels
$scope.referentials = Referential.query();
+ // Utilisateur actuel ?
+ $scope.isCurrentUser = Auth.getCurrentUser()._id === $scope.args[0]._id;
+
// Get User
$scope.args[0] = $scope.args[0] || new User();
$scope.isNew = !$scope.args[0]._id;