<commit_before>designApp.controller("designCtrl", function($scope) {
	var self = this;
	
	self.models = {
        selected: null,
        templates: [
            {
            	type: "feature",
        		typ: "http://purl.obolibrary.org/obo/SO_0000167",
        		id: 1,
        		name: "promoter",
                temp_params: {
                   fixed: true
                }
            },
            {
            	type: "feature",
                typ: "http://purl.obolibrary.org/obo/SO_0000139",
                id: 2,
                name:"ribosome entry site",
                end: 60,
                parameters: {
                   "TIR target": 15000
                },
                temp_params: {
                   fixed: false
                }
            },
            {
            	type: "feature",
            	typ: "http://purl.obolibrary.org/obo/SO_0000316",
                id: 3,
                name: "coding sequence",
                options: [
                   {
                      typ: "http://purl.obolibrary.org/obo/SO_0000316",
                      name: "coding sequence",
                      temp_params: {
                         fixed: false
                      }
                   }
                ]
            },
        	{
        		type: "feature",
        		typ: "http://purl.obolibrary.org/obo/SO_0000141",
        		id: 4,
        		name: "terminator",
                temp_params: {
                   fixed: true
                }
            }
        ],
        designs: [
        	{
        		type: "design",
        		id: 1,
            	name: "Design",
                desc: "Design",
            	features: []
        	}
        ]
    };
	
	self.modelAsJson = angular.toJson(self.models, true)

	$scope.$watch(function() {
		return self.models;
	},               
	function(values) {
		self.modelAsJson = angular.toJson(self.models, true)
	}, true);
});<commit_msg>Added more templates.<commit_after>designApp.controller("designCtrl", function($scope) {
	var self = this;

	self.models = {
			selected: null,
			templates: [
				{
					typ: "http://purl.obolibrary.org/obo/SO_0001416",
					name: "5' flanking region",
					temp_params: {
						fixed: true
					}
				},
				{
					typ: "http://purl.obolibrary.org/obo/SO_0000143",
					name: "assembly component",
					temp_params: {
						fixed: true
					}
				},
				{
					type: "feature",
					typ: "http://purl.obolibrary.org/obo/SO_0000167",
					id: 1,
					name: "promoter",
					temp_params: {
						fixed: true
					}
				},
				{
					type: "feature",
					typ: "http://purl.obolibrary.org/obo/SO_0000139",
					id: 2,
					name:"ribosome entry site",
					end: 60,
					parameters: {
						"TIR target": 15000
					},
					temp_params: {
						fixed: false
					}
				},
				{
					type: "feature",
					typ: "http://purl.obolibrary.org/obo/SO_0000316",
					id: 3,
					name: "coding sequence",
					options: [
						{
							typ: "http://purl.obolibrary.org/obo/SO_0000316",
							name: "coding sequence",
							temp_params: {
								fixed: false
							}
						}
						]
				},
				{
					type: "feature",
					typ: "http://purl.obolibrary.org/obo/SO_0000141",
					id: 4,
					name: "terminator",
					temp_params: {
						fixed: true
					}
				},
				{
					typ: "http://purl.obolibrary.org/obo/SO_0000449",
					end: 100,
					name: "random region",
					temp_params: {
						fixed: false
					}
				},
				{
					typ: "http://purl.obolibrary.org/obo/SO_0001417",
					name: "3' flanking region",
					temp_params: {
						fixed: true
					}
				}
				],
				designs: [
					{
						type: "design",
						id: 1,
						name: "Design",
						desc: "Design",
						features: []
					}
					]
	};

	self.modelAsJson = angular.toJson(self.models, true)

	$scope.$watch(function() {
		return self.models;
	},               
	function(values) {
		self.modelAsJson = angular.toJson(self.models, true)
	}, true);
});
{'fraction_non_alphanumeric': 0.1358461927649886, 'fraction_numerical': 0.032127498102706806, 'mean_word_length': 1.273720529039678, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '75756', 'n_tokens_mistral': 1763, 'n_tokens_neox': 1249, 'n_words': 214}