For this recipe, we will integrate a Play web application with an AngularJS-based frontend. AngularJS is a popular JavaScript framework and provides developers with tools to build powerful interactive UIs with ease. Some familiarity with AngularJS is assumed for this recipe.
More information about AngularJS can be found here at https://angularjs.org/.
In this recipe, we will also use WebJars, a Play-friendly dependency management repository, to manage our AngularJS libraries.
More information about WebJars can be found at http://www.webjars.org/.
We will also be using RequireJS, which is a JavaScript module script loader, to manage the AngularJS module and
public/javascripts/main.js
, our main application JavaScript module. For more information about RequireJS, refer to their online documentation at http://requirejs.org/.