Skip to content

Instantly share code, notes, and snippets.

@erlendaakre
Last active May 24, 2017 08:01
Show Gist options
  • Save erlendaakre/bd5c188f59edea952f3cca851fa13af4 to your computer and use it in GitHub Desktop.
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
<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