O'Reilly logo

Mastering AngularJS for .NET Developers by Mohammad Wadood Majid, Golrokh Mirzaei

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required