Created
April 13, 2015 21:59
-
-
Save zxqx/63d7a1b703258661d2cc to your computer and use it in GitHub Desktop.
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
import htmlLoginForm from './login-form.html'; | |
export default class LoginForm | |
{ | |
constructor() | |
{ | |
this.template = htmlLoginForm; | |
} | |
link(scope, elem, attrs) | |
{ | |
} | |
/** | |
* Provide an instance of the directive | |
*/ | |
static directiveFactory() | |
{ | |
LoginForm.instance = new LoginForm(); | |
return LoginForm.instance; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment