Install software-properties-common
sudo apt-get install software-properties-common
Add Repo
sudo add-apt-repository ppa:olipo186/git-auto-deploy
{ | |
"directory": "app/bower_components" | |
} |
{ | |
"directory": "app/bower_components" | |
} |
deneme |
deneme |
deneme |
import { Injectable } from 'angular2/core'; | |
import { Storage } from './storage'; | |
import { CurrentUser } from '../interfaces/common'; | |
@Injectable() | |
export class Authentication{ | |
private _storageService : Storage; | |
private _userKey : string = "CURRENT_USER"; | |
constructor(storageService : Storage){ |
/* 3rd party libraries */ | |
import { NgModule, Optional, SkipSelf } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { HttpClientModule } from '@angular/common/http'; | |
/* our own custom services */ | |
import { SomeSingletonService } from './some-singleton/some-singleton.service'; | |
@NgModule({ | |
imports: [ |
Install software-properties-common
sudo apt-get install software-properties-common
Add Repo
sudo add-apt-repository ppa:olipo186/git-auto-deploy
import { Injectable } from "@angular/core"; | |
import { Observable, Subject } from "rxjs/Rx"; | |
import { filter, map } from "rxjs/operators"; | |
export interface IClassConstructor<T> { | |
new (...args: any[]): T; | |
} | |
export interface IMessage { | |
channel: Function; |
export class UserNotificationMessage { | |
constructor( | |
public message: string, | |
public notificationType?: NotificationType, | |
public options?: any, | |
public notifier?: any | |
) {} | |
} | |
export type NotificationType = | |
| "success" |