This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="checkbox" ng-model="strict"><br> | |
<table id="searchObjResults"> | |
<tr><th>Name</th><th>Phone</th></tr> | |
<tr ng-repeat="friendObj in friends | filter:search:strict"> | |
<td>{{friendObj.name}}</td> | |
<td>{{friendObj.phone}}</td> | |
</tr> | |
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Credit http://stackoverflow.com/a/5767357 | |
var array = [2, 5, 9]; | |
var index = array.indexOf(5); | |
if (index > -1) { | |
array.splice(index, 1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Source http://stackoverflow.com/a/7310398 | |
http://jsfiddle.net/kizu/4RPFa/74/ | |
*/ | |
.frame { | |
height: 25px; /* equals max image height */ | |
width: 160px; | |
border: 1px solid red; |
NewerOlder