Skip to content

Instantly share code, notes, and snippets.

@DWS-paris
Created December 6, 2016 15:34
Show Gist options
  • Save DWS-paris/5023ef62aa2fc9e6ac36ce545d7d2ae4 to your computer and use it in GitHub Desktop.
Save DWS-paris/5023ef62aa2fc9e6ac36ce545d7d2ae4 to your computer and use it in GitHub Desktop.
Contrôleur d'une page type #ionic2
// Import de la class permettant de créer un composant
import { Component } from '@angular/core';
// Décorateur du composant
@Component({
selector: 'home-page',
templateUrl: 'app.homepage.html'
})
// Export de la class du composant
export class AppHomepage { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment