Encapsulating LocalStorage Access In AngularJS
You have {{ vm.friends.length }} friends!
{{ friend.name }} (
delete
)
Log out
(
will kill local storage
).