2957 7/18/2015 4:49:57 PM

Example:

:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
:
<div ng-app="mainApp">
    <div ng-controller="MyCtrl">
        <p>AngularJS Binding Example - Simple Binding</p>
        <p>Binding Using Curly Braces :  </p><h4>{{ hiThereText }}</h4>
        <p>Binding Using ng-bind : </p><h4><span ng-bind="hiThereText"></span></h4>
    </div>    
</div>
:
var mainApp = angular.module('mainApp', []);
        mainApp.controller('MyCtrl', function ($scope) {
            $scope.hiThereText = 'Hi there !!!'
        });
: