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.

creating registration.php

1

2

3

4

5

6

7

8

9

10

11

12

13

<!DOCTYPE html>

<html ng-app="angularFormApp">

<head>

<title></title>

<link href="Content/bootstrap.min.css"rel="stylesheet"/>

<script src="Scripts/angular.min.js"></script>

<script src="app/AngularformsApp.js"></script>

</head>

<body class="container"ng-controller="helloController">

<h1>AngularDemoPage</h1>

<p>{{welcome}}</p>

</body>

</html>

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.

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.