<?php $__env->startSection('head'); ?>
<script type="text/javascript" src="<?php echo asset('assets/js/ng-form-plugin.js'); ?>"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.js" ></script>
<script stype="text/javascript">
    var ngTtmoApp = angular.module('ngTtmoApp', [], function($interpolateProvider)
    {$interpolateProvider.startSymbol('<%'); $interpolateProvider.endSymbol('%>'); });
    ngTtmoApp.controller('ngTtmoAppcontroller', function($scope) {
    $scope.TtmoItem = <?php echo $data; ?>;
    
    $('#Ttmo-form').Add({Type:'POST',Headers:{'X-CSRF-TOKEN':'<?php echo csrf_token();?>'}, ModuleName:'Ttmo', ModuleItemName:'TtmoItem', NgAppName:'ngTtmoApp'});
    $('#Ttmo-form').Edit({Type:'GET',Headers:{'X-CSRF-TOKEN':'<?php echo csrf_token();?>'}, ModuleName:'Ttmo', ModuleItemName:'TtmoItem', NgAppName:'ngTtmoApp'});
    $('#Ttmo-form').Delete({Type:'DELETE',Headers:{'X-CSRF-TOKEN':'<?php echo csrf_token();?>'}, ModuleName:'Ttmo', ModuleItemName:'TtmoItem', NgAppName:'ngTtmoApp'});
    $('#Ttmo-form').Submit({Type:'POST',Headers:{'X-CSRF-TOKEN':'<?php echo csrf_token();?>'}, ModuleName:'Ttmo', ModuleItemName:'TtmoItem', NgAppName:'ngTtmoApp'});
    });
</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>View Ttmo</h3>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_content">
                    <form  ng-app="ngTtmoApp" ng-controller="ngTtmoAppcontroller" id="Ttmo-form" class="form-horizontal form-label-left" method="post" action='<?php echo route("Ttmocreateorupdate"); ?>' autocomplete="off">
                        <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>" />
                        <table class="table table-striped" ><tr><td >first</td><td><%TtmoItem.first%></td></tr><tr><td >test</td><td><%TtmoItem.test%></td></tr></table>
                        <input ng-model='TtmoItem.id' type="text" id="id" name="id" style="display: none" />
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('footer'); ?>
<script type="text/javascript">
    $(document).ready(function() {
        var ajaxAction=function(url,action){ 
            $.ajax({url:url,type:action,data:{'_token':"<?php echo e(csrf_token()); ?>" ,'selected_rows':SelectedCheckboxes() },success:function(){ ListTable.ajax.reload(); }}); 
        }
        $.ajaxSetup({
            headers: { 'X-CSRF-TOKEN':'<?php echo e(csrf_token()); ?>','X-Requested-With': 'XMLHttpRequest'}
        });
    });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/FreshAppBuilder/resources/views/Ttmo_view.blade.php ENDPATH**/ ?>