TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Manesh Golekar
NA
444
13k
using Scope in Angular JS and html5
Jan 12 2015 5:36 AM
Can someone plz help with below sample for using scope in AngularJS . JS file is in same directory .
<!doctype html>
<html ng-app>
<head>
<script type="text/javascript" src="angular.js"></script>
</head>
<body>
<input type="text" ng-model="myname" />
<hr/>
Hello {{myname}} !
<hr/>
<div ng-controller="GreetCtrl">
Hello {{name}} !
</div>
<script type="text/javascript">
function GreetCtrl($scope){
$scope.name = 'Manesh';
}
</script>
</body>
</html>
Reply
Answers (
1
)
CSS3 property in older versions of Internet Explorer (7,8)
How to Use native sharing button?