20. Getting Started with AngularJS

AngularJS is a JavaScript framework that provides a very structured method of creating websites and web applications. AngularJS is a JavaScript library that is built on a lightweight version of jQuery. It allows AngularJS to provide the best of JavaScript and jQuery and at the same time enforce a structured Model View Controller (MVC) framework.

AngularJS is a perfect client-side library for the Node.js stack because it provides a very clean and structured approach. With a clean, structured frontend, the Node.js backend performs much better. Also, the fact that AngularJS uses JavaScript objects as its model plays right into the Node.js and MongoDB platforms because the objects do not need to be converted to some other structure to be used in both locations.

This chapter introduces you to AngularJS as well as the major components involved in an AngularJS application. Understanding these components is critical before you try to implement an AngularJS application because the framework is different from more traditional JavaScript web application programming.

Once you have a good grasp of the components and the life cycle of an AngularJS application, you’ll learn how to construct a basic AngularJS application, step by step. This should prepare you to jump into the following chapters, which provide much more detail on implementing AngularJS.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.44.199