Hello I am learning angular and trying to bind data from model to view. But its not throwing any error. Can you help me.
<div ng-app ="myApp" ng-controller="emp">
Hello {{emp.name}}, I am happy that you are getting a salary of{{emp.salary}}.
</div>
var app = angular.module("myApp", []);
app.controller('emp', function(){
this.name = "John";
this.salary = 4500;
});
Please find Fiddler