Advertisement
Guest User

Untitled

a guest
May 18th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. import { LoginController } from './login.controller';
  2. import './login.scss';
  3. import './login.html';
  4.  
  5. class LoginComponent implements ng.IComponentOptions {
  6.  
  7. public template: string;
  8. public controller: Function;
  9. public bindings : any;
  10.  
  11. constructor(){
  12. this.controller = LoginController;
  13. this.bindings = {
  14. username: '@',
  15. password: '@'
  16. };
  17. this.template = //login.html referred to here
  18. }
  19.  
  20. }
  21.  
  22. export { LoginComponent };
  23.  
  24. {
  25. "compilerOptions": {
  26. "target": "es5",
  27. "module": "commonjs",
  28. "sourceMap": true
  29. },
  30. "exclude": [
  31. "typings/main.d.ts",
  32. "typings/main",
  33. "node_modules"
  34. ]
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement