Last active
May 24, 2017 08:01
-
-
Save erlendaakre/bd5c188f59edea952f3cca851fa13af4 to your computer and use it in GitHub Desktop.
AngularJS memorable word into indexed list of characters - https://codepen.io/frostvoid/pen/MmLVBN
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
<html ng-app> | |
<body> | |
<div class="container">Enter your memorable word: <input type="text" ng-model="memword"/></div> | |
<div class="container"> | |
<h5>memorable word character list</h5> | |
<span ng-repeat="c in memword track by $index">{{$index+1}} - {{c}}<br/></span> | |
</div> | |
<script src="angular.min.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment