AngularJS.docx - Introduction AngularJS is a JavaScript framework for dynamic web application It is a powerful library of JavaScript It can be added to
AngularJS.docx - Introduction AngularJS is a JavaScript...
IntroductionAngularJS is a JavaScript framework for dynamic web application. It is a powerful library ofJavaScript. It can be added to an HTML page with a <script> tag. AngularJS, is an open-source web application framework which is maintained by Google.AngularJS is quite new Technology its first version 1.0 was released in 2012. It is developedby Misko Hevery, a Google employee, he started to work on AngularJS in 2009. Its latestversion is 1.2.21.AngularJS DirectivesThe AngularJS framework can be divided into three major parts;ng-app : The ng-app directive initializes an AngularJS application.ng-model : ng-model directive binds the value of HTML controls (input, select, textarea) to application data.ng-bind : ng-bind directive binds the AngularJS application data to HTML tags.Why called AngularJSBecause HTML has Angular brackets and "ng" sounds like "Angular".AngularJS a library, framework, plugin or a browser extension?AngularJS is the framework of JavaScript. AngularJS is 100% JavaScript, 100% client-sideand compatible with both desktop and mobile browsers. So it's definitely not a plugin or someother native browser extension.Angularjs FeaturesIt is framework of JavaScript and it have own event handing directives. It is open source and itis free for every one. AngularJS have a lot of new features which is given below;
Two Way Data-BindingIt Support two way data binding features.MVCAngularJS is a framework of JavaScript which work on MVC model.
Dependency InjectionAngularJS has a built-in dependency injection subsystem that helps the developer by makingthe application easier to develop, understand, and test.ValidationAngularJS provides client side validation same like JavaScript. Using AngularJS you cancreate your own validation.FilterFilter are mainly used for modify the data. Filters can be added to expressions and directivesusing a pipe (|) character.DirectivesA directive is something that introduces new syntax. It improve the feature or functionality ofhtml elements. Directives are markers on a DOM element which attach a special behavior toit. For example, static HTML does not know how to create and display a date picker widget.To teach HTML this new syntax we need a directive. AngularJS directives are extended HTMLattributes with the prefix ng-.FormsAn AngularJS form is a collection of input controls like button, input elements. AngularJS hassome features for binding data of HTML form input fields to the model object ($scope). Youbind an input field to a model property using the ng-model directive.Advantage of AngularjsAngularJS is a framework of JavaScript. It improve the properties of Html elements. Someadvantage of of angularjs are;Less Code: It help to write less code. Using angularjs developers can achieve more functionality with writing less code.
Testable: It make your application testable. AngularJS code is unit testable.