Javascript 51
AngularJS $interpolateProvider Example
AngularJS provide $interpolateProvider for configuring the start and end symbol of expression. AngularJS expression takes double curly braces {{expression}} by default. Using startSymbol() and endSymbol() method we can change these default value to a different tag. In this demo,"We will use $interpolateProvider to change the start and end tag of AngularJS expression". Below code has […]
AngularJS ngList Built-In Directive Example
AngularJS provides ngList built-in directive for separating input string. It can be used with ngTrim for handling white space in trailing. In this demo "We will see how to use ngList directive in input type text". Below code has the fruit array which is separated using default separator and with new separator hyphen -. <!DOCTYPE […]
AngularJS Built-In Filter Example
AngularJS has built-in filter for using in expression. The filters are json,limitTo,oderBy,date,number,currency,lowercase and uppercase. In this demo, "We will see the use of these built-in filter in AngularJS application". Below code has the illustration of these filter with sample example. <!DOCTYPE html> <html ng-app="myApp"> <head> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular-sanitize.js"></script> <meta charset="utf-8"> <title>AngularJS Buit-In Filter […]
AngularJS $linky Filter Example
AngularJS has $linky() filter for filtering email, http and ftp resources from the text. In ngSanitize module has the definition of the $linky filter and present in angular-sanitize.js file. In this Demo, "We will use $linky filter for filtering email,http and ftp key values from text". Below code has both HTML and JavaScript implementation […]