Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

104
Vistas
how can i add javascript files into angular?

i have got a template works fine on visual studio , but when i tried to use it on my angular project i don't know why the javascript code doesn't work , i filled the app.component.html with the html code and i imported the css code . i installed bootstrap and font-awesome. the only problem i got is i don't know how to add javascript code into my project (angular 13 btw).

(function ($) {
"use strict";

// Spinner
var spinner = function () {
    setTimeout(function () {
        if ($('#spinner').length > 0) {
            $('#spinner').removeClass('show');
        }
    }, 1);
};
spinner();




 
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I use javascript in my angular project. Try to import javascript in your-project/src/index.html inside the body tag.

 <body>
    <app-root id="app-root"></app-root>
    <script> </script>
</body>
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda