Beginning AngularJS

(WallPaper) #1

Chapter 8 ■ Organizing Views


Summary


Organizing your view templates isn’t too difficult, but it can require some planning and familiarity with routes. You
don’t have to use the routing system, but if you want a clean and simple way to separate the task of selecting content
from the controller so that the application content can be driven from any part of the application, it is a great option.
Of course, there are other factors to consider when organizing your view templates, such as how you name your
files and how you structure your file system. Thus, you should consider the routing system as just one more powerful
tool in your arsenal.

Free download pdf