I am supposed to pass a list of objects which are stored in a MongoDB database from the back-end to the view, where I need to display the content of all the objects as a list (like a table) on an HTML page ? How should I do this given the number of table rows can be dynamic ?