AngularJS – the conceptual overview

The following section introduces the important parts of AngularJS:

  • AngularJS is like other libraries in which you can invoke the functions as you want.
  • Everything is designed to be used as a collaborative suite.
  • The applications designed using AngularJS need two things to start:
    • You need to load the angular.js library.
    • You need to tell AngularJS which part of the DOM it should manage with ng-app directive. AngularJS can be loaded from Google's content delivery network (CDN).

The following code shows how to load AngularJS using CDN:

<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
</head>

It is recommended that you use Google's CDN, as shown in the preceding code, because ...

Get Mastering AngularJS for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.