Javascript 51
ReactJS : Getting Started
ReactJS is the library form Facebook to develop component. JSX(JavaScript Syntax Extension) is the library for transforming XML based syntax code to pure JavaScript. In this Demo, “We will create a sample application using ReactJS and JSX”. A JSX script will have type text/jsx. A annotated comment need to be added in beginning of […]
AngularJS Utility Methods
AngularJS provides many utility method like isObject,isString,isDefined, etc to check the type of the input. In this demo, “We will checkout some utility methods that returns BOOLEAN values on call”. All these method has similar signature like isXxxxx(). Below code shows the use of some utility methods that are present inside the angular object. […]
AngularJS ngCloak Example
AngularJS provides ngCloak directive to control the flickering issue when application is bootstrapping. AngularJS adds the ngCloak class to the element if the application is not bootstrapped and removes this class once the application is bootstrapped and ready. In this demo “We will see the use of ngCloak usage to an application”. Below code […]
AngularJS ngNonBindable Directive Example
AngularJS provides ngNonBindable directive to create non bindable expression. In this demo,”We will see an example of non bindable AngularJS expression”. Below code used the ngNonBindable directive to unbind the expression. <!DOCTYPE html> <html ng-app="myApp"> <head> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script> <meta charset="utf-8"> <title>AngularJS ngNonBindable Example</title> </head> <body ng-controller="MyController"> <h3>Use of ngNonBindable Directive Example</h3> <h5>Default binding {{number1+number2}}</h5> […]