docker-registry-frontend/app/scripts/controllers/main-controller.js
Konrad Kleine 629abd43bf Tag details, Tag creation (almost), Tag deletion, Image details
The Tag.exists() service is not working properly, affection creation and deletion of Tags.

Somehow one can only add tags to existing repos only. Thats why I've modified the creation dialog.
2014-09-16 16:25:27 +02:00

16 lines
467 B
JavaScript

'use strict';
/**
* @ngdoc function
* @name docker-registry-frontend.controller:MainController
* @description
* # MainController
* Controller of the docker-registry-frontend
*/
angular.module('main-controller', [])
.controller('MainController', ['$scope', '$route', '$routeParams', '$location',
function($scope, $route, $routeParams, $location){
this.$route = $route;
this.$location = $location;
this.$routeParams = $routeParams;
}]);