AngularJS iOS Switch

A simple AngularJS directive which creates an iOS-styled switch. The switch is connected to a data model and can be toggled on and off. In this example, the switch is connected to the published property on the post model.

Made by Jacques Vrolijk/Download the Source on GitHub

The post is currently published: {{ post.published }}