<commit_before>//Angular code

'use strict';

/* App Module */

var onsApp = angular.module('onsApp', [
    'ngRoute',
    'onsControllers'
]);

onsApp.config(['$routeProvider','$locationProvider',
    function($routeProvider, $locationProvider) {
		//$locationProvider.hashPrefix('!');
//			 .html5Mode(false)
        $routeProvider.
        when('/', {
            redirectTo: '/home'
        }).
        when('/searchresults', {
            templateUrl: 'templates/searchresults.html',
            controller: 'SearchCtrl'
        }).
        when('/methodology', {
            templateUrl: 'templates/methodology.html',
            controller: 'MethodologyCtrl'
        }).
        when('/article', {
            templateUrl: 'templates/article.html',
            controller: 'ArticleCtrl'
        }).
        when('/home/economy/inflationandpriceindices/bulletin', {
            templateUrl: 'templates/bulletin.html',
            controller: 'BulletinCtrl'
        }).
        when('/bulletin', {
            redirectTo: '/home/economy/inflationandpriceindices/bulletin'
        }).
        when(':home*\/bulletins', {
            templateUrl: 'templates/bulletin.html',
            controller: 'BulletinCtrl'
        }).
        when('/release', {
            templateUrl: 'templates/release.html'
        }).
        when('/collection', {
            templateUrl: 'templates/collection.html',
            controller: "CollectionCtrl"
        }).
        otherwise({
            templateUrl: 'templates/template.html',
            controller: 'TemplateCtrl'
        });
    }
]);

/*Filters for ng-repeat*/

onsApp.filter('slice', function() {
    return function(arr, start, end) {
        return arr.slice(start, end);
    };
});

onsApp.filter('range', function() {
    return function(input, start, end) {
        var start = parseInt(start);<commit_msg>Added templates Contact Us and Dataset to Angular<commit_after>//Angular code

'use strict';

/* App Module */

var onsApp = angular.module('onsApp', [
    'ngRoute',
    'onsControllers'
]);

onsApp.config(['$routeProvider','$locationProvider',
    function($routeProvider, $locationProvider) {
		//$locationProvider.hashPrefix('!');
//			 .html5Mode(false)
        $routeProvider.
        when('/', {
            redirectTo: '/home'
        }).
        when('/searchresults', {
            templateUrl: 'templates/searchresults.html',
            controller: 'SearchCtrl'
        }).
        when('/methodology', {
            templateUrl: 'templates/methodology.html',
            controller: 'MethodologyCtrl'
        }).
        when('/article', {
            templateUrl: 'templates/article.html',
            controller: 'ArticleCtrl'
        }).
        when('/home/economy/inflationandpriceindices/bulletin', {
            templateUrl: 'templates/bulletin.html',
            controller: 'BulletinCtrl'
        }).
        when('/bulletin', {
            redirectTo: '/home/economy/inflationandpriceindices/bulletin'
        }).
        when(':home*\/bulletins', {
            templateUrl: 'templates/bulletin.html',
            controller: 'BulletinCtrl'
        }).
        when('/release', {
            templateUrl: 'templates/release.html'
        }).
        when('/collection', {
            templateUrl: 'templates/collection.html',
            controller: "CollectionCtrl"
        }).
        when('/contactus', {
            templateUrl: 'templates/contactus.html',
            controller: "ContactUsCtrl"
        }).
        when('/dataset', {
            templateUrl: 'templates/Dataset_Excelcrosssection.html',
            controller: "DatasetCtrl"
        }).
        otherwise({
            templateUrl: 'templates/template.html',
            controller: 'TemplateCtrl'
        });
    }
]);

/*Filters for ng-repeat*/

onsApp.filter('slice', function() {
    return function(arr, start, end) {
        return arr.slice(start, end);
    };
});

onsApp.filter('range', function() {
    return function(input, start, end) {
        var start = parseInt(start);
{'fraction_non_alphanumeric': 0.14780029658922392, 'fraction_numerical': 0.0004943153732081067, 'mean_word_length': 2.0612708018154313, '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': '6430510', 'n_tokens_mistral': 1088, 'n_tokens_neox': 1083, 'n_words': 180}