{{activity.energy}}%
The following AngularJS application is working with ng-repeat and an applied filter. A certain applied filter leaves no values left. How can I display a notification?
<
I recently faced the same kind of problems..
I had three filters and one orderBy in the ng-repeat and wanted to show some emptyList Messages....
The above solutions didnot work..so I made one out of my own.
//empty msg....
.emptyMsg{
position: absolute;
left: 0;right: 0;
margin: auto;
color: gray;
text-align: center;
font-size:3.0em;
z-index: 0;
}
.activityItem {
margin: 0px !important;
padding: 0px !important;
border: 0px !important;
}
.mainContainer {
z-index: 999;
width: 100%;
height: 40px;
left: 0px;
margin-top: 10px;
display: inline-block;
}
List of Activities
No Activities found!
{{activity.energy}}%