Add and remove record from MySQL Database with AngularJS

If you know how to add or remove record to MySQL database table with jQuery AJAX then it’s been a lot easier for you to do with AngularJS.

Using PHP for handling requests and return a response.

In the demonstration, I create a form for entering new records and show the list of records in the table layout with a delete button.

Add and remove record from MySQL Database with AngularJS

Read more

Upload file with AngularJS and PHP

For upload file with AngularJS need to send the file by $http service and with the use of PHP store the requested file to the server and return a response.

In the demonstration, I am creating two examples –

  • In the first, using JavaScript to select a file,
  • And in the second, using a custom directive

Then pass it as data in $http service for upload.

Upload file with AngularJS and PHP

Read more