<commit_before>(function(angular){
    "use strict";
    angular.module("mfl.setup.routes.sub_counties", ["mfl.setup.routes.dashboard"])
    .config(["$stateProvider", function ($stateProvider) {
        $stateProvider
            .state("setup.sub_counties", {
                url: "/sub_counties",
                views: {
                    "body@setup" : {
                        templateUrl : "setup/tpls/dashboard/body.tpl.html"
                    },
                    "main-<EMAIL>": {
                        controller: "mfl.setup.controller.sub_counties.list",
                        templateUrl: "setup/tpls/sub_counties/sub_counties.tpl.html"
                    }
                },
                permission: "common.view_constituency",
                userFeature: "is_national"
            })
            .state("setup.sub_counties.view_scount", {
                url: "/details/:scount_id",
                views: {
                    "main-<EMAIL>": {
                        templateUrl: "setup/tpls/sub_counties/sub_counties.details.tpl.html",
                        controller :"mfl.setup.controller.sub_counties.details"
                    }
                },
                permission: "common.view_constituency",
                userFeature: "is_national"
            })
            .state("setup.sub_counties.edit", {
                url: "/edit/:scount_id",
                views: {
                    "main-content@setup": {
                        templateUrl: "admin_units/tpls/sub_counties/sub_counties.tpl.html"
                    }
                },
                permission: "common.view_constituency",
                userFeature: "is_national"
            });
    }]);

})(window.angular);<commit_msg>added user feature to states 'is_admin'<commit_after>(function(angular){
    "use strict";
    angular.module("mfl.setup.routes.sub_counties", ["mfl.setup.routes.dashboard"])
    .config(["$stateProvider", function ($stateProvider) {
        $stateProvider
            .state("setup.sub_counties", {
                url: "/sub_counties",
                views: {
                    "body@setup" : {
                        templateUrl : "setup/tpls/dashboard/body.tpl.html"
                    },
                    "<EMAIL>": {
                        controller: "mfl.setup.controller.sub_counties.list",
                        templateUrl: "setup/tpls/sub_counties/sub_counties.tpl.html"
                    }
                },
                permission: "common.view_constituency",
                userFeature: "is_national,is_staff"
            })
            .state("setup.sub_counties.view_scount", {
                url: "/details/:scount_id",
                views: {
                    "<EMAIL>": {
                        templateUrl: "setup/tpls/sub_counties/sub_counties.details.tpl.html",
                        controller :"mfl.setup.controller.sub_counties.details"
                    }
                },
                permission: "common.view_constituency",
                userFeature: "is_national,is_staff"
            })
            .state("setup.sub_counties.edit", {
                url: "/edit/:scount_id",
                views: {
                    "main-content@setup": {
                        templateUrl: "admin_units/tpls/sub_counties/sub_counties.tpl.html"
                    }
                },
                permission: "common.view_constituency",
                userFeature: "is_national,is_staff"
            });
    }]);

})(window.angular);
{'fraction_non_alphanumeric': 0.1203155818540434, 'fraction_numerical': 0.0, 'mean_word_length': 1.296248382923674, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 7, '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': '1196094', 'n_tokens_mistral': 980, 'n_tokens_neox': 949, 'n_words': 104}