[PDI-11553] - Refactor the accordion-based layout

Adding CSS styling for angular-directives.
Changed the buildSummary method to onSave.
Added onCancel.