Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { LoginController } from './login.controller';
- import './login.scss';
- import './login.html';
- class LoginComponent implements ng.IComponentOptions {
- public template: string;
- public controller: Function;
- public bindings : any;
- constructor(){
- this.controller = LoginController;
- this.bindings = {
- username: '@',
- password: '@'
- };
- this.template = //login.html referred to here
- }
- }
- export { LoginComponent };
- {
- "compilerOptions": {
- "target": "es5",
- "module": "commonjs",
- "sourceMap": true
- },
- "exclude": [
- "typings/main.d.ts",
- "typings/main",
- "node_modules"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement