Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Component} from "@angular/core";
- import {Inject} from "@angular/core";
- import {Injectable} from "@angular/core";
- import {OnInit} from "@angular/core";
- import {Router} from "@angular/router";
- import {Http, HTTP_PROVIDERS, URLSearchParams} from "@angular/http";
- import {NotificationService} from "./notification.service";
- @Component({
- selector: "login",
- templateUrl: "./html/login.component.html",
- providers: [HTTP_PROVIDERS, NotificationService],
- })
- export class LoginComponent {
- constructor(private _notificationService: NotificationService, public http: Http, public router: Router) {
- }
- ....
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement