Connect with Multiple Databases in CodeIgniter 3

A database is one of the common requirements while building a dynamic application. It uses to store related data in an organized manner.

You can use more than one database in your application.

If you are using CodeIgniter Framework then you need to define the database connection details separately for multiple databases and load it explicitly for performing operations on the database.

Connect with Multiple Databases in CodeIgniter 3

Read more

Add remove Class with ngClass in AngularJS

With ngClass directive, it is easier to maintain CSS classes between HTML elements dynamically.

You cannot just pass the class name in ng-class like class attribute.

You need to either use the $scope variable or expression for including classes on the element.

In this tutorial, I show how you add and remove class using ngClass in AngularJS.

Add remove Class with ngClass in AngularJS

Read more