Still dont get how to create a custom Widget

I am trying to create my first custom widget using the one in this url:

https://github.com/s-yadav/angulargrid

I dont get by the instructions in the github page how to implement the necessary steps in the UI Designer. Can someone provide how to do it based in the angulargrid widget plz?

Regards,

Jose Migule

This might get you started. This was for a chart widget, but same principles apply.

http://community.bonitasoft.com/node/2241#node-4700