angular - Injecting 3rd party js file -


i working off of angular 2 seed project. trying inject 3rd party js file don't think being included. had same issue css well, not able inject in index.html, got css work importing css in main.css file, stuck js file. might missing something, can point me in right direction. below index.html,

<!doctype html> <html lang="en"> <head>   <base href="<%= app_base %>">   <meta charset="utf-8">   <meta http-equiv="x-ua-compatible" content="ie=edge">   <title><%= app_title %></title>   <meta name="description" content="">   <meta name="viewport" content="width=device-width, initial-scale=1">   <!-- inject:css -->   <!-- endinject --> </head> <body>    <sd-app>loading...</sd-app>    <script>   // fixes undefined module function in systemjs bundle   function module() {}   </script>    <!-- shims:js -->   <!-- endinject -->    <% if (build_type === 'dev') { %>   <script src="<%= app_base %>app/system-config.js"></script>   <% } %>    <!-- libs:js -->   <script src="assets/layout/js/layout.js"></script>       <!-- menu -->   <!-- endinject -->    <!-- inject:js -->   <!-- endinject -->    <% if (build_type === 'dev') { %>   <script>   system.import('<%= bootstrap_module %>')     .catch(function (e) {       console.error(e.stack || e,         'not expecting error? report @ https://github.com/mgechev/angular2-seed/issues');     });   </script>   <% } %>  </body> </html> 


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -