<commit_before><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>ngCookbook</title>
	<meta http-equiv="Content-Language" content="en"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="google" value="notranslate"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="yes"/>
	<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimal-ui"/>

	<!-- jQuery -->
	<script src="/bower_components/jquery/dist/jquery.min.js"></script>

	<!-- Bootstrap -->
	<link href="/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

	<!-- FontAwesome -->
	<link rel="stylesheet" href="/bower_components/fontawesome/css/font-awesome.min.css">
	
	<!-- Angular -->
	<script src="/bower_components/angular/angular.min.js"></script>
	<script src="/bower_components/angular-resource/angular-resource.min.js"></script>
	<script src="/bower_components/angular-route/angular-route.min.js"></script>
	<script src="/bower_components/angular-xenophilous/xenophilous.js"></script>

	<!-- lodash -->
	<script src="/bower_components/lodash/dist/lodash.min.js"></script>

	<!-- ngCookbook -->
	<link rel="stylesheet" href="/assets/css/site.css">
</head>

<script>
var app = angular.module("app", []);

app.controller('menuController', function($scope) {

	$scope.links = [
		{
			url: 'recipes/tables/index.html',
			title: 'Tables',
			description: 'Displaying collections as tables + selecting active elements',
			keywords: ['tables', 'ngresource']
		},
		{
			url: 'recipes/rest-basic/index.html',
			title: 'REST-basic',
			description: 'Example REST using a static JSON file',
			keywords: ['ngresource', 'json']
		},
		{
			url: 'recipes/rest-promises/index.html',
			title: 'REST-promises',
			description: 'Example REST using a static JSON file and promises to mangle the incomming data',
			keywords: ['ngresource', 'json', 'promise', 'map', 'mangle']
		},
		{
			url: 'recipes/modals/index.html',
			title: 'Modals',
			description: 'Editing multiple records from a table via a Bootstrap modal',
			keywords: ['ngresource', 'json', 'bootstrap', 'modal']
		},
		{
			url: 'recipes/reddit/index.html',
			title: 'Reddit',
			description: 'Example cross-domain REST data feed from Reddit.com',
			keywords: ['ngresource', 'json', 'x-site', 'x-domain', 'cors']
		},
		{
			url: 'recipes/rest-autorefresh/index.html',
			title: 'REST-AutoRefresh',
			description: 'REST data feed from Reddit.com with periodic auto-refresh',
			keywords: ['ngresource', 'json', 'x-site', 'x-domain', 'cors', 'auto', 'refresh']
		},
		{
			url: 'recipes/rest-form/index.html',
			title: 'REST-Form',
			description: 'Example form which saves to a rest interface',
			keywords: ['ngresource', 'json', 'save']
		},
		{
			url: 'recipes/watch/index.html',
			title: 'Watch',
			description: 'Watching and reacting to model values',
			keywords: ['model', 'watch']
		},
		{
			url: 'recipes/validation/index.html',
			title: 'Validation',
			description: 'Form validation with basic Angular',
			keywords: ['form', 'validation', 'input']
		},
		{
			url: 'recipes/trees/index.html',
			title: 'Tree structures',
			description: 'Simple tree structures using Angular directives',
			keywords: ['tree', 'directive', 'recursion']
		}
	];<commit_msg>Added firebase sync demo to main menu<commit_after><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>ngCookbook</title>
	<meta http-equiv="Content-Language" content="en"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="google" value="notranslate"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="yes"/>
	<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimal-ui"/>

	<!-- jQuery -->
	<script src="/bower_components/jquery/dist/jquery.min.js"></script>

	<!-- Bootstrap -->
	<link href="/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

	<!-- FontAwesome -->
	<link rel="stylesheet" href="/bower_components/fontawesome/css/font-awesome.min.css">
	
	<!-- Angular -->
	<script src="/bower_components/angular/angular.min.js"></script>
	<script src="/bower_components/angular-resource/angular-resource.min.js"></script>
	<script src="/bower_components/angular-route/angular-route.min.js"></script>
	<script src="/bower_components/angular-xenophilous/xenophilous.js"></script>

	<!-- lodash -->
	<script src="/bower_components/lodash/dist/lodash.min.js"></script>

	<!-- ngCookbook -->
	<link rel="stylesheet" href="/assets/css/site.css">
</head>

<script>
var app = angular.module("app", []);

app.controller('menuController', function($scope) {

	$scope.links = [
		{
			url: 'recipes/tables/index.html',
			title: 'Tables',
			description: 'Displaying collections as tables + selecting active elements',
			keywords: ['tables', 'ngresource']
		},
		{
			url: 'recipes/rest-basic/index.html',
			title: 'REST-basic',
			description: 'Example REST using a static JSON file',
			keywords: ['ngresource', 'json']
		},
		{
			url: 'recipes/rest-promises/index.html',
			title: 'REST-promises',
			description: 'Example REST using a static JSON file and promises to mangle the incomming data',
			keywords: ['ngresource', 'json', 'promise', 'map', 'mangle']
		},
		{
			url: 'recipes/modals/index.html',
			title: 'Modals',
			description: 'Editing multiple records from a table via a Bootstrap modal',
			keywords: ['ngresource', 'json', 'bootstrap', 'modal']
		},
		{
			url: 'recipes/reddit/index.html',
			title: 'Reddit',
			description: 'Example cross-domain REST data feed from Reddit.com',
			keywords: ['ngresource', 'json', 'x-site', 'x-domain', 'cors']
		},
		{
			url: 'recipes/rest-autorefresh/index.html',
			title: 'REST-AutoRefresh',
			description: 'REST data feed from Reddit.com with periodic auto-refresh',
			keywords: ['ngresource', 'json', 'x-site', 'x-domain', 'cors', 'auto', 'refresh']
		},
		{
			url: 'recipes/rest-form/index.html',
			title: 'REST-Form',
			description: 'Example form which saves to a rest interface',
			keywords: ['ngresource', 'json', 'save']
		},
		{
			url: 'recipes/watch/index.html',
			title: 'Watch',
			description: 'Watching and reacting to model values',
			keywords: ['model', 'watch']
		},
		{
			url: 'recipes/validation/index.html',
			title: 'Validation',
			description: 'Form validation with basic Angular',
			keywords: ['form', 'validation', 'input']
		},
		{
			url: 'recipes/trees/index.html',
			title: 'Tree structures',
			description: 'Simple tree structures using Angular directives',
			keywords: ['tree', 'collection', 'directive', 'recursion']
		},
		{
			url: 'recipes/firebase-sync/index.html',
			title: 'Firebase Sync',
			description: 'Keeping a complex, server stored collection in sync via Firebase',
			keywords: ['firebase', 'collection', 'sync']
		}
	];
{'fraction_non_alphanumeric': 0.18569042316258352, 'fraction_numerical': 0.0016703786191536749, 'mean_word_length': 4.330118694362018, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '1483195', 'n_tokens_mistral': 2646, 'n_tokens_neox': 2342, 'n_words': 511}