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="persona") | |
body(ng-controller="PersonaCtrl") | |
div(ng-hide="verified") | |
button(ng-click="verify()") Verify Identity | |
div(ng-show="verified") | |
| Hello {{email}} | |
br | |
button(ng-click="logout()") Log Out | |
div(ng-show="error") | |
strong {{error}} |
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
; | |
/* | |
* jQuery Mouse Angle | |
* Get the angle of the mouse relative to the center point of an element | |
* Barnabas Kendall (barnabas@bkendall.biz) | |
*/ | |
(function ($, window, document, undefined) { | |
// Create the defaults once |