Tuesday 22 July 2014

Angular JS - Introduction

AngularJS is a client-side MVC framework written in JavaScript developed by Google. Angular JS is most suited in developing single page web applications. It is a general purpose framework that makes easier to develop RIA web applications.

You can get Angular JS from, http://angularjs.org/

Lets have a look at sample program in Angular JS,

<!DOCTYPE html>

<html lang="en">
<head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
</head>

<body ng-app="myApp" ng-init="title = 'World'">>

 <h2>Hello, {{ title }}!</h2>

</body>

</html>
Hope you had good introduction to AJS, you can find more detailed explanation about the topic from next article "Getting started with Angular JS". If any queries please comment.

No comments:

Post a Comment