Friday, November 16, 2018
AliDropship is the best solution for drop shipping

As we discussed in the previous session about creating service in Angularjs which means wiring objects together to use dependency injection. For this session go through below links.

Now using ng-Controller how to create an angular page? Let’s step into the example for better idea. Creating JavaScript file as AngularformsApp.js

In this file need to create Angular module,’angularFormApp’ to add controller’s constructor function to module using
.controller method. Now controller function will be created out of the global scope, Now displaying the welcome message in the html page. Let’s check it in the below html code.

Now we will check another example to work with angularjs forms using ng-controller constructor methods. Let’s create a sample demo from and post the values to server, Here I am using codeigniter as backend framework; if you are not familiar with codeigniter please go through the sample articles below. You can get idea about creating model, view and Controllers.

You have an idea to create controller constructor method to post the form data using angular module.


Now we will create codeigniter controller and model functions to insert the Form data to mysql database table.

Now check the model file, how the data is inserted to database table using codeigniter.

Thanks for reading this article.

AliDropship is the best solution for drop shipping
Tags: , ,
I am Saritha Reddy, a Remote codeigniter,Angularjs Developer. I have 4+ years of strong experience in designing, implementing, Programming and delivering advanced XAMPP ( Apache, MySQL and PHP) Web applications development. I am an Indian national and based Andhra Pradesh,Hyderabad. In addition to providing custom programming and design, I also have extensive experience with Open Source technologies to keep costs down and get websites running with as little fuss and wait as possible.

1 Comment

Md November 26, 2017 at 5:55 pm

This post is really helpful for the beginners who are very eager to learn. Thanks a lot.

Leave a Comment