Event Register using AngularJS with UI-Bootstrap