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
Manisha Agarwal
NA
5
3.3k
Make a single view and use it using angular js in each view
Nov 20 2014 11:49 PM
Hii
I am new in angularjs.
I want to make a partial view called _Message.cshtml where all success, warning, alert div code be there like
<div class="alert alert-success alert-dismissible col-md-9" role="alert" ng-show="showSuccessAlert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<strong>Success!</strong> {{message}}
</div>
<div class="alert alert-success alert-dismissible col-md-9" role="alert" ng-show="showSuccessAlert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<strong>Success!</strong> {{message}}
</div>
and want to call it in each view using angularjs, how can i call this dynamically to show where it is alert and success message.
Waiting for the reply.
Reply
Answers (
0
)
My Editor control getting css of table
rotate+ drag image anywhere on my page