AngularJS is a JavaScript framework amd AngularJS library is written in JavaScript framework. Before you start AngularJS, you should have a basic knowledge of HTML,CSS and JavaScript.
If you are going use AngularJS then something you need to modify in your basic Html such as ng-app, ng-model etc then you can use AngularJS, First of all you need to add angular js library in you page in header because AngularJS extends Html and AngularJS extends Html with ng-directives.
ng-app: The ng-app directive defines an AngularJS application.
ng-model: The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.
ng-bind: The ng-bind directive binds application data to the HTML view.

Example:

<!DOCTYPE html>
<html>
<script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js”></script>
<body>

<div ng-app=””>
<p>Country: <input type=”text” ng-model=”Country”></p>
<p ng-bind=”Country”></p>
</div>

</body>
</html>

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

2 thoughts on “What is AngularJs?

Leave a Reply

Your email address will not be published. Required fields are marked *

error: