Import AngularJS in source code

I try to modify the source code on this js file :


Now the Line Plot(JavaScript) node changed and works well when I reboot KNIME .

I want using AngularJS or 3rd js library in knime-line-plot.js ,when i import js file by using require.js ,it not work.
My code like this:

        paths: {
            alertify: ""

    require(["alertify"], function(alertify) {


And when i reboot KNIME to view this node, i got this error:

require is not defined

So how can i import 3rd js library ?
Thanks !