A Pen by Ashish Vishwakarma on CodePen.
This file contains hidden or 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
<b>1. Use Fail-Safe </b> | |
<br/> Using more replace() in chain than expected occurrences, this will not harm in anyway but it is not a good practice if because no. of occurrence is not predictable | |
<br/> | |
<b>Output : </b> | |
<div id="UseFailSafe"></div> | |
<br/> | |
<hr/> | |
<b>2. split() join() combination</b> | |
<br/> This approach will work for any number of occurrences, but more performance costly |
AngularJS lets you easily do a instant search if you say save your data as JSON. The elegant way that it is coded and the performance I find great. The JSON data I use, I have collected from Danish streaming TV service YouBio. I use bootstrap 3 to control the markup/layout.
Forked from Sten Hougaard's Pen AngularJS ng-repeat with search.
A Pen by Ashish Vishwakarma on CodePen.
A Pen by Ashish Vishwakarma on CodePen.
NewerOlder