Categories
AngularJS

AngularJS – IsArray function

AngularJS isArray() is one of the useful ng function. This function is used to identify if a reference is array or not. This function return Boolean which means , it will return true if the reference is an array, return false if the reference is not an array. Syntax: angular.isArray(value); Example:

Categories
AngularJS

Dependent Dropdown List with AngularJS

Here the simple AngularJS tutorial on creating Cascading DropDownList with Angular JS.

Categories
AngularJS

How to assign alternate class to rows in Angular JS?

In this post i would like to write about Angular JS ngClassOdd,ngClassEven directives , by using this directories we can take effect only on odd rows or on even rows. This directives work exactly as ngClass and this directives only work when they are in scope of an ngRepeat. For example by using ngClassOdd,ngClassEven directives […]

Categories
AngularJS

Custom filters in AngularJS

This tutorial will show you, creating your own custom filters in AngularJS with simple steps and example. Angular filters provides a way to format the variable output without changing scope variable. Whenever possible use filters to keep presentation logic out of the controllers. Angular providing a .filter() method for each module. We can write your […]

Categories
AngularJS

AngularJS and Codeigniter : Retrieve data from the database

Here I would will like to show you how to use Angular JS in CodeIgniter and I will show you how to get data from the database in Codigniter using Angular JS. view : angularjs_view.php Controller: Angularjs.php Model : User_model.php That’s it.