This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-content no-padding> | |
<div #map id="map" style="height: 100%;"> | |
<ion-header> | |
<ion-input type="text" placeholder="Type you address..."></ion-input> | |
</ion-header> | |
<ion-footer> | |
<ion-row> | |
<ion-col> | |
<button ion-button block (click)="callButton1()">Button 1</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'); | |
//debe retornar development | |
die(var_dump(ENVIRONMENT)); | |
switch (ENVIRONMENT) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Http } from '@angular/http'; | |
@Injectable() | |
export class HeroService { | |
constructor (private http: Http) {} | |
} | |