Flat 10% & upto 50% off + Free additional Courses. Hurry up!

AngularJS Controllers


Applications in AngularJS are controlled by controllers. It controls the data of application. These are the JavaScript Object which holds attributes and functions. It is defined by ng-controller. It uses $scope as a parameter. $scope objects communicates with view and exposes model to the view.


<div ng-app = "" ng-controller = "controller_name">






<title>AngularJS Controller</title>

<script src = "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>



<h2>Example of AngularJS Controllers </h2>

<div ng-app="details" ng-controller="employeecontroller">

Id: <input type="text" ng-model="id"><br><br>

Name: <input type="text" ng-model="name"><br>


Details of Employee: {{id + " " + name}}



var e = angular.module('details', []);

e.controller('employeecontroller', function($scope) {

$scope.id = 20;

$scope.name = "abc";







"0 Responses on AngularJS Controllers"

Training in Cities

Bangalore, Hyderabad, Chennai, Delhi, Kolkata, UK, London, Chicago, San Francisco, Dallas, Washington, New York, Orlando, Boston

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.


Sales Offer

  • To avail this offer, enroll before 26th October 2016.
  • This offer cannot be combined with any other offer.
  • This offer is valid on selected courses only.
  • Please use coupon codes mentioned below to avail the offer
DW offer

Sign Up or Login to view the Free AngularJS Controllers.