import { Injectable } from '@angular/core' ; @ Injectable ( ) export class ObMockPopUpService { public confirm ( message ? ) { return true ; } public alert ( message ? ) { } public prompt ( message ? , _default ? ) { return null ; } }