<!DOCTYPE html>
<html>
<head>
<script data-require="angular.js@*" data-semver="1.3.9" href="style.css" src="https://code.angularjs.org/1.3.9/angular.js"></script>
<script src="https://rawgit.com/bendrucker/angular-text-toggle/v1.0.2/release/angular-text-toggle.js"></script>
<script src="script.js"></script>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body ng-app="app">
<text-toggle toggle="condition">
<toggle-action>Click to switch me on</toggle-action>
<toggle-confirmation>I am on!</toggle-confirmation>
</text-toggle>
</body>
</html>
angular.module('app', [
'text-toggle'
]);
/* Styles go here */
toggle-action, undo {
color: blue;
cursor: pointer;
font-weight: bold;
}