AngularJS directives

Directive Description ng-app Defines the root element of an application. ng-bind Binds the innerHTML of HTML elements to application data.It is the automatic synchronization of data between model and view components ng-click Defines the behavior when an element is clicked. ng-controller Defines the controller object for an application. ng-disabled Binds application data to the HTML disabled attribute. ng-hide Hides or …

Continue Reading

AmgularJS hello world application

<html> <title>hello world application</title> <head> <!–Load framework–> <script src=”http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js”></script> </head> <body> <h1>Hello World Program</h1> <div ng-app=””> <span>Write here something: <input type=”text” ng-model=”name”></span> <p>Hello <span ng-bind=”name”></span></p> </div> </body> </html>

Continue Reading

Why Should I Use AngularJS ?

If you haven’t tried AngularJS yet, you’re missing out. The framework consists of a tightly integrated toolset that will help you build well structured, rich client-side applications in a modular fashion—with less code and more flexibility. AngularJS extends HTML by providing directives that add functionality to your markup and allow you to create powerful dynamic templates. You can also create …

Continue Reading

What is AngularJs ?

AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. Its goal is to augment browser-based applications with model–view–controller (MVC) capability, in an effort to make both development and testing easier. The library reads in HTML that contains additional custom tag attributes; it then obeys the directives in those custom attributes, and binds input or …

Continue Reading