Multiple files upload with AngularJS and PHP

You can allow multiple file selections by creating more than one file element but you can easily do this with just a single file element.

It consumes less space and easy to handle but for this, you need to customize the element.

In this tutorial, I am using AngularJS and PHP to upload multiple files to the servers.

I am creating a custom directive to handle file selection in AngularJS.

Multiple files upload with AngularJS and PHP

Read more

Scroll to given element with anchorScroll service in AngularJS

The anchorScroll service in AngularJS allows us to jump to the specific HTML element in the web page. When this gets called then it adds [#element-id] on the URL which you can remove with few more line of code.

It has the dependency on $location service for hash the id on the URL and the anchorScroll reads the hashed string and looks for the given id in the web page and jump to it.

Scroll to given element with anchorScroll service in AngularJS

Read more

Check uncheck all multiple checkboxes with AngularJS

The check uncheck all functionality mainly required when the long list of records available on the page and allowing the user to select multiple records to perform an action.

For example – Delete the selected user’s list, in this case, if require deleting all users then it needs to select one by one.

This can also be used on the limited number of list items.

I show you some of the examples of check uncheck all checkboxes with AngularJS.

Check uncheck all multiple checkboxes with AngularJS

Read more