Making a custom ui_node : using external angular libraries

Hi everyone,

I'm trying to make a custom node using the newly published guide at https://github.com/node-red/node-red-dashboard/wiki/Creating-New-Dashboard-Widgets.
To save some time, I want to reuse the angular keypad package.
Now, after using npm install angular-keypad, I have to import JS and CSS.
Also, according to the package's docs, I should register the module using angular.module('YourModule', ['bc.AngularKeypad']);

Here's what I've got for now:

This is pretty much the calendar example with a name change for now :sweat_smile:
Only

Any help is greatly appreciated.

Thanks!

@dceejay sorry to bother, but do you have any hint for me to look into? :pray:

You may get a better response if you were more specific about what the problem is/what exactly you are having difficulty with.

1 Like