Advertisement
Randohinn

Include

Jul 24th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {Component} from "@angular/core";
  2. import {Inject} from "@angular/core";
  3. import {Injectable} from "@angular/core";
  4. import {OnInit} from "@angular/core";
  5. import {Router} from "@angular/router";
  6. import {Http, HTTP_PROVIDERS, URLSearchParams} from "@angular/http";
  7. import {NotificationService} from "./notification.service";
  8.  
  9. @Component({
  10.     selector: "login",
  11.     templateUrl: "./html/login.component.html",
  12.     providers: [HTTP_PROVIDERS, NotificationService],
  13. })
  14.  
  15. export class LoginComponent {
  16.  
  17.     constructor(private _notificationService: NotificationService, public http: Http, public router: Router) {
  18.     }
  19.  
  20. ....
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement