AngularJS, Commonly referred to as Angular, is an open-source web application framework, maintained by Google and the community, that assists with creating single-page applications, which consist of one HTML page with CSS and JavaScript on the client side. Its goal is to simplify both development and testing of web applications by providing client-side model–view–controller (MVC) capability as well as providing structure for the entire development process, from design through testing.
The below code is very basic implementation with AngularJs which displays 'Hello Angular World!' in your browser making use of it's MVC capability.
See it in action
The below code is very basic implementation with AngularJs which displays 'Hello Angular World!' in your browser making use of it's MVC capability.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World With AngularJS</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
</head>
<body ng-app="myFirstAngJsDemo">
<div ng-controller="myController">
<h2>Hello {{helloTo.title}}!</h2>
</div>
<script>
angular.module("myFirstAngJsDemo", [])
.controller("myController", function($scope) {
$scope.helloTo = {};
$scope.helloTo.title = "Angular World";
} );
</script>
</body>
</html>