Is AngularJS just for single-page applications (SPAs)?

I struggled with the "how" at first with Angular as well. Then one day it dawned on me: "It is STILL javascript". There are a bunch of examples on the ins-and-outs of Angular (one of my favorites along with the book https://github.com/angular-app/angular-app). The biggest thing to remember is to load in the js files just like you would in any other project. All you have to do is make sure the different pages reference the correct Angular object (controller, view, etc.) and you are off and running. I hope this makes sense, but the answer was so simple I overlooked it.


Not at all. You can use Angular to build a variety of apps. Client-side routing is just a small piece of that.

You have a large list of features that will benefit you outside of client-side routing:

  • two-way binding
  • templating
  • currency formatting
  • pluralization
  • reusable controls
  • RESTful api handling
  • AJAX handling
  • modularization
  • dependency injection

It's crazy to think that all of that "could only be used in a single page app". Of course not.. that's like saying "Jquery is only for projects with animations".

If it fits your project, use it.