<commit_before>'use strict';

// Posts controller
var postsApp = angular.module('posts');

postsApp.controller('PostsController', ['$scope', '$stateParams', 'Authentication', 'Posts', '$modal', '$log', '$location', '$http',
	function($scope, $stateParams, Authentication, Posts, $modal, $log, $location, $http) {
		$scope.selectedTopic = null;
		$scope.categories = [
			
			{
				id: 1,
				title: 'Introduce Yourself',
				snippet: 'Get to know other cashew members',
				topics: [
					{ name: 'Friends',
						numPosts: 0,
						numNewPosts:0,
					}
					]
			},
			{
				id: 2,
				title: 'Share Your Ideas',
				snippet: 'Share ideas, interests, strategies',
				topics: [
					{ name: 'Business Strategy',<commit_msg>before add category service<commit_after>'use strict';

// Posts controller
var postsApp = angular.module('posts');

postsApp.controller('PostsController', ['$scope', '$stateParams', 'Authentication', 'Posts', '$modal', '$log', '$location', '$http',
	function($scope, $stateParams, Authentication, Posts, $modal, $log, $location, $http) {
		$scope.coverTitle = $rootScope.coverTitle;
		$scope.selectedTopic = null;
		$scope.categories = [
			
			{
				id: 1,
				title: 'Introduce Yourself',
				snippet: 'Get to know other cashew members',
				topics: [
					{ name: 'Friends',
						numPosts: 0,
						numNewPosts:0,
					}
					]
			},
			{
				id: 2,
				title: 'Share Your Ideas',
				snippet: 'Share ideas, interests, strategies',
				topics: [
					{ name: 'Business Strategy',
{'fraction_non_alphanumeric': 0.16434724983432736, 'fraction_numerical': 0.005301524188204109, 'mean_word_length': 3.454277286135693, 'pattern_counts': {'":': 0, '<': 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': '5525099', 'n_tokens_mistral': 624, 'n_tokens_neox': 476, 'n_words': 124}