I am working on very large application using angularjs in front-end . In my project there are various modules and each modules are project in itself like school management is a module in my application .
What I have found when the application initially loads , the DOM size is almost 25 mb . And I am in middle of the project only. After using project for sometime , my browser hung-up and at that time DOM size is almost 120 mb and above .
Please suggest some way to configure my project , how I organize directives , controllers and services . How I bind them . I know there is some error in architecture design of my application , binding of controllers etc