Angularjs Global API With Example

| Last Updated: | In: Angular JS

This is a very quick tutorial which demonstrates the Angularjs Global API With Example. The global functions are accessible via the angular object. Below is the list of some common global javascript functions for performing tasks:

1) Comparing objects

2) Iterating objects

3) Converting data

angularjs-global api

Angularjs Global API With Example

Below are some common global API which will use to filter data.

1) angular.lowercase(value) => Converts a string to lowercase
2) angular.uppercase(value) => Converts a string to uppercase
3) angular.isString(value) => Returns true if the reference is a string
4) angular.isArray(value); => Return true if the refeerence is an array
5) angular.isNumber(value) => Returns true if the reference is a number
6) angular.isDate(value) => Return true if the refeerence is date
7) angular.isUndefined(value) => Determines if a reference is undefined
8) angular.equals(value1, value2) => Determines if two two values are equivalent


Below example will describe how to use the angular common functions in your real coding. Create a index.html file copy paste below code to test the angularJS API functions.

Tags: , , , ,

About: Prem Tiwari

Prem Tiwari is the founder of and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.

You may also like:

Follow us!

Get Free Access of 400+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...


Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...