function get_angular($project = null, $folder = 'projects') { $ans = null; $ans .= get_it('angular') . "\n"; $ans .= get_it('ngResource') . "\n"; $ans .= get_it('ngRoute') . "\n"; if ($project) { $file = theme_dir . "angular/app/{$folder}/{$project}.js"; $ans .= "<script src='" . $file . VersionNumber . "'></script>" . "\n"; } return $ans; }
@show <?php } ?> <style> @section('css_add') @show </style> @section("js_section") <?php echo get_it('jquery'); echo get_it('bootstrap.js'); echo get_it('custom/js/custom.js'); ?> @show @section('js_add') @show @section('head_add') @show </head> <body {!! $ng_controller !!}> <!--[if lt IE 7]>