Since we are going to build a decent-size app in AngularJS, it becomes imperative that we define how the code will be structured. For obvious reasons, we cannot take the approach of putting everything into a single file as we did in the first chapter.
The basic folder structure for our web app will look like this:
js folders are self-explanatory. The
partials folder will contain HTML views that we will use in the app. The
index.html file is the start page for the app. Go ahead and create this folder hierarchy for the app.