Imagine I have developed an AngularJS application that lazy loads controller files (using $scriptjs) and all dependencies when the user navigates to a specific route. This application consists of 3 routes: A, B, and C.
My question is: if the user navigates from route A to route B and then back to route A, will the files for route A be loaded into memory twice, or does the browser intelligently cache them and retrieve them as needed?