old_contents: (function() {
  	'use strict';
  	/**
  	 *  Declare app level module which depends on views, and components.
  	 */
  	angular.module('lirejarpApp', [
  		'tmh.dynamicLocale', // angular-dynamic-locale
  		'moment-picker',
  	    'pascalprecht.translate',
  	    //DO NOT DELETE ###BEGIN### include generated files
  		//DO NOT DELETE ###END### include generated files
  		'ngRoute'
  	]);
  	
  	/**
  	 * Language Configuration via module pascalprecht.translate.
  	 */
  	angular.module('lirejarpApp').config(['$translateProvider', function($translateProvider) {
  		$translateProvider
  		.useStaticFilesLoader({
  			prefix: 'localization/translations-',
  			suffix: '.json'
  		})
          .registerAvailableLanguageKeys(['en-US', 'de-DE'], {
               'en*': 'en-US',
               'de*': 'de-DE',
           })
  		.determinePreferredLanguage()
  		.useSanitizeValueStrategy('escaped') // Security for escaping variables
  		.usePostCompiling(true); // Post compiling angular filters
  	}]);
  	
  	/**
  	 * Configuration for locale.
  	 */
  	angular.module('lirejarpApp')
  	.config(['tmhDynamicLocaleProvider', function(tmhDynamicLocaleProvider) {
  		var locale = window.navigator.userLanguage || window.navigator.language;
  		if (locale.includes('de')) {
  				tmhDynamicLocaleProvider.defaultLocale('de-de');
  				tmhDynamicLocaleProvider.localeLocationPattern('localization/angular-locale_de-de.js');
  		} else {
  				tmhDynamicLocaleProvider.defaultLocale('en-us');
  				tmhDynamicLocaleProvider.localeLocationPattern('localization/angular-locale_en-us.js');
  		}
    }]);
  	
  	angular.module('lirejarpApp').controller('appController', appController);
  	
  	/**
  	 * Controller for global behavior when changing the view (routeChange).
  	 * @param $scope
  	 * @returns
  	 */
  	function appController($scope) {
  		$scope.$on('$routeChangeSuccess', function (scope, next, current) {
  			$scope.title=next.title;
  			$scope.subtitle=next.subtitle;
  		});
  	}
  
  	/**
  	 * Factories used globally in lirejarpApp. 
  	 * To keep the scope as small as possible, add factories only used by submodules in the submodule itself.
  	 */		
  	angular.module('lirejarpApp').factory('restConnectorFactory', restConnectorFactory);
  })();
  
new_contents: (function() {
  	'use strict';
  	/**
  	 *  Declare app level module which depends on views, and components.
  	 */
  	angular.module('lirejarpApp', [
  		'tmh.dynamicLocale', // angular-dynamic-locale
  		'moment-picker',
  	    'pascalprecht.translate',
  	    //DO NOT DELETE ###BEGIN### include generated files
  		//DO NOT DELETE ###END### include generated files
  		'ngRoute'
  	]);
  	
  	/**
  	 * Language Configuration via module pascalprecht.translate.
  	 */
  	angular.module('lirejarpApp').config(['$translateProvider', function($translateProvider) {
  		$translateProvider
  		.useStaticFilesLoader({
  			prefix: 'localization/translations-',
  			suffix: '.json'
  		})
          .registerAvailableLanguageKeys(['en-US', 'de-DE'], {
               'en*': 'en-US',
               'de*': 'de-DE',
           })
  		.determinePreferredLanguage()
  		.useSanitizeValueStrategy('escaped') // Security for escaping variables
  		.usePostCompiling(true); // Post compiling angular filters
  	}]);
  	
  	/**
  	 * Configuration for locale.
  	 */
  	angular.module('lirejarpApp')
  	.config(['tmhDynamicLocaleProvider', function(tmhDynamicLocaleProvider) {
  		var locale = window.navigator.userLanguage || window.navigator.language;
  		if (locale.includes('de')) {
  				tmhDynamicLocaleProvider.defaultLocale('de-de');
  				tmhDynamicLocaleProvider.localeLocationPattern('localization/angular-locale_de-de.js');
  		} else {
  				tmhDynamicLocaleProvider.defaultLocale('en-us');
  				tmhDynamicLocaleProvider.localeLocationPattern('localization/angular-locale_en-us.js');
  		}
  	}]);
  	
  	angular.module('lirejarpApp')
  	.filter('formatLocalDate', function ($filter) {
  	   return function (date) {
  	       if (date) {
  	    	   moment.locale(window.navigator.userLanguage || window.navigator.language);
  	           return moment(date).format("LL");
  	       }
  	       else
  	           return "";
  	   };
  	})
  	.filter('formatLocalTime', function ($filter) {
  	   return function (date) {
  	       if (date) {
  	    	   moment.locale(window.navigator.userLanguage || window.navigator.language);
  	           return moment(date).format("LLL");
  	       }
  	       else
  	           return "";
  	   };
  	});
  	
  	angular.module('lirejarpApp').controller('appController', appController);
  	
  	/**
  	 * Controller for global behavior when changing the view (routeChange).
  	 * @param $scope
  	 * @returns
  	 */
  	function appController($scope) {
  		$scope.$on('$routeChangeSuccess', function (scope, next, current) {
  			$scope.title=next.title;
  			$scope.subtitle=next.subtitle;
  		});
  	}
  
  	/**
  	 * Factories used globally in lirejarpApp. 
  	 * To keep the scope as small as possible, add factories only used by submodules in the submodule itself.
  	 */		
  	angular.module('lirejarpApp').factory('restConnectorFactory', restConnectorFactory);
  })();
  
subject: add date format filter