[ad_1]
I am new for Angular js and i followed below very small code in eclipse IDE but i am not getting result its not showing message can some one help me please how should i build angular js code in eclipse
its showing result like--->Welcome (message)
index.html:-
<!DOCTYPE html>
<html ng-app="demoApp">
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
<script src="http://stackoverflow.com/lib/angular.min.js"></script>
<script src="angularDemo.js"></script>
</head>
<body>
<div ng-controller="demoCtrl">
Welcome (message)
</div>
</body>
</html>
angularDemo.js:-
var app = angular.module("demoApp",[]);
app.controller("demoCtrl", function($scope)
$scope.message= "AngularJs";
);
[ad_2]
لینک منبع