AngularJS
In recent years, one particular JavaScript client-side framework has emerged as a strong contender for building single page applications for enterprise business. It is called AngularJS (http://angularjs.org) and is supported and licensed by Google. The software repository can be found on GitHub at https://github.com/angular/angular.js. I should say that it is not the only framework to provide DOM two-way binding, Model-View Controller, templating, modules, services, and factories.
In this book, we are only concerned with AngularJS, but you should be aware of two major competitors in the JavaScript client-side world, namely Backbone.js
and Ember.js
. Due to the scope of the task, we hit the ground with the AngularJS framework, and in this chapter there is beginner's introduction to the framework. We will cover the AngularJS version 1.3.15 running against Java EE 7.
Tip
For a thorough discussion on AngularJS and client-side JavaScript from the ground up, we recommend reading another...