- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 
                        orders_list_app.constant('User', {
    auth : ('False' == 'True') ? true : false,
    contractor : ('' == 'True')  ? true : false,
    user_id : ('False' == 'True') ? None : false
});
// goes in another place
angular.forEach(rootCategory.categories, function(category_2){
    angular.forEach(category_2.service_orders, function(service_2){
        rootCategory.service_orders.push(service_2);
            angular.forEach(category_2.categories, function(category_3){
                angular.forEach(category_3.service_orders, function(service_3){
                    rootCategory.service_orders.push(service_3);
                });
            });
        });
    });
    rootCategory.service_orders.push({name:"Другие услуги" ,text: "", title: "Другие услуги"});
});
                                 
        
Комментарии (0) RSS
Добавить комментарий