When I try to add the script to .angular-cli, at the index.html or at main.ts there is an error
Uncaught TypeError: (intermediate value)(intermediate value).push is not a function at Object.eval (omega.js:1) at eval (omega.js:4) at Object../src/assets/scripts/omega.js (main.bundle.js:1206) at __webpack_require__ (inline.bundle.js:55) at eval (main.ts:8) at Object../src/main.ts (main.bundle.js:1222) at __webpack_require__ (inline.bundle.js:55) at Object.0 (main.bundle.js:1230) at __webpack_require__ (inline.bundle.js:55) at webpackJsonpCallback (inline.bundle.js:26)
coming from the first line of the compiled code
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,
any idea how to solve this? or how to use a custom element in an angular project?
When I try to add the script to .angular-cli, at the index.html or at main.ts there is an error
Uncaught TypeError: (intermediate value)(intermediate value).push is not a function at Object.eval (omega.js:1) at eval (omega.js:4) at Object../src/assets/scripts/omega.js (main.bundle.js:1206) at __webpack_require__ (inline.bundle.js:55) at eval (main.ts:8) at Object../src/main.ts (main.bundle.js:1222) at __webpack_require__ (inline.bundle.js:55) at Object.0 (main.bundle.js:1230) at __webpack_require__ (inline.bundle.js:55) at webpackJsonpCallback (inline.bundle.js:26)coming from the first line of the compiled code
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,any idea how to solve this? or how to use a custom element in an angular project?