learnstuff logo

Routes and Events

AngularJS is meant to build single page applications which means that it needs to provide a mechanism for changing the view without re-loading the page, since JS elements will be refreshed if the URL of the page is re-loaded. In this presentation we will explore two ways of configuring and using routes in AngularJS to ensure the single page functionality. We will also learn how events work in AngularJS and how to use them to make elements communicate with each other and respond to user generated events.