<?php
$this->angular(['angular-route.js', 'pi.js']);
?>
<script>
    angular
        .module('<?php echo $module; ?>', ['ngRoute', 'pi'])
        .constant('config', {
            assetRoot: '<?php echo $this->assetModule('ng-template/admin/', '', false); ?>',
            data: <?php echo json_encode($data); ?>,
            t: {
                EDIT: '<?php echo _a('Edit'); ?>',
                EDITCONFIG: '<?php echo _a('Edit configs'); ?>',
                DELETE: '<?php echo _a('Delete'); ?>',
            }
        });
</script>
<link rel="stylesheet" href="<?php echo $this->assetModule('admin/admin.css'); ?>">
<script src="<?php echo $this->assetModule('admin/ng-list-widgets.js'); ?>"></script>