These are chat archives for AngularClass/angular2-webpack-starter

10th
Jun 2016
99% Cocoa
@rjlee7
Jun 10 2016 20:47
Hi all! I'm trying to access a function in an external JS file (untyped), in my home component. First I’ve imported the file into vendor.ts with the import 'assets/js/agglinechart.js’; statement. The agglinechart.js basically contains a giant aggLineChart function (function aggLineChart() {.... }). How do I access this function within the home component environment? Would really appreciate your help..