Within a div of fixed size, dynamically generated div elements are displayed using ng-repeat. The inner divs should adjust their size to accommodate the number of child divs present - for example, if only one div is present, it should take up 100% of the space; if two divs are present, each should take up 50%. I have attached a screenshot for reference. Thank you in advance.