Apply for Zend Framework Certification Training

AngularJs




<script type="text/javascript" src="angular.min.js"></script>
<script>
var app = angular.module("simpleApp",[]);
app.controller("simpleController",function($scope){
   	$scope.name="Rajesh Kumar mandal"; //angularjs Variable  -- name
        $scope.displayData = function(){
               $scope.getdata;
            }
});
</script>


<body>
<div ng-app="simpleApp" ng-controller="simpleController">
    <h1>{ {name} }</h1>
<input type="text" ng-change="displayData()" ng-model="getdata">
<h1>{ {getdata} } </h1>
    
</div>

</body>                                    

< How to create Controller and Module in angularjs How To Use Another sign Insteed of $ In Jquery >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top