For example, in the following fiddle:
var app = angular.module('myApp', []);
app.controller('MainCtrl', function($scope) {
$scope.test1 = 'Hello world';
$scope.test2 = 'Hello new';
});
$(function() {
$("#text").html("{{test2}}");
});
AngularJS is not binding to the variable 'test2. How do I get it to do so?