Advertisement
Guest User

Untitled

a guest
May 24th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import htmlLoginForm from './login-form.html';
  2.  
  3. export default class LoginForm
  4. {
  5. constructor()
  6. {
  7. this.template = htmlLoginForm;
  8. }
  9.  
  10. link(scope, elem, attrs)
  11. {
  12. }
  13.  
  14. /**
  15. * Provide an instance of the directive
  16. */
  17. static directiveFactory()
  18. {
  19. LoginForm.instance = new LoginForm();
  20. return LoginForm.instance;
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement