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
ajay kumar
NA
106
26.6k
in angular simple program not showing result
Aug 5 2018 7:08 AM
Hi ,
Scripts.js file
/// <reference path="angular.min.js" />
var
myApp = angular.module(
"myModule"
, []);
};
myApp.controller(
"myController"
,
function
($scope) {
$scope.message =
"angualar js Tutorial"
;
});
HTML Page
<!DOCTYPE html
>
<
html
data-ng-app
=
"myModule"
>
<
head
>
<
script
src
=
"angular.min.js"
>
</
script
>
<
script
src
=
"Script.js"
>
</
script
>
</
head
>
<
body
>
<
div
data-ng-controller
=
"myController"
>
{{ message }}
</
div
>
<
div
>
{{10+60}}
</
div
>
</
body
>
</
html
>
Result
Reply
Answers (
3
)
Angular JS interview questions
Recursive Tree-View Using Angular Bootstrap Admin LTE Menu