I am implementing an Event Handler using Angularjs. User can insert an event and the relevant date. All the details of an event will be stored in an array (which is in controller.js file). Then I need to find out the event with closest date to the current date and display it on the UI. ( I am displaying the all the other events using ng-repeat. Also I want to display this part as the upcoming event)
Since I am a newbie to Angularjs, I couldn't understand some solutions on the web. Can you suggest me a best solution to achieve this? Also what is the best way to add a calendar to the UI?
Thanks in advance!