I hereby claim:
- I am mt-- on github.
- I am mt_nasty (https://keybase.io/mt_nasty) on keybase.
- I have a public key ASAbk48HutdDQPwYP-CUsCBKN1IWsugmSc9c6JmfOBsSxAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import { Component } from '@angular/core'; | |
| import { Platform } from 'ionic-angular'; | |
| import { SessionService } from '../providers/session.service'; | |
| @Component({ | |
| template: `<ion-nav [root]="rootPage"></ion-nav>` | |
| }) | |
| export class MyApp { |
| import { Directive } from '@angular/core'; | |
| import { ViewController } from 'ionic-angular'; | |
| @Directive({ | |
| selector: '[hideTabs]' | |
| }) | |
| export class HideTabsDirective { | |
| constructor(private viewCtrl: ViewController) { | |
| // hide tabs when view loads |
| import { Injectable } from '@angular/core'; | |
| import { Http, Response, Headers } from '@angular/http'; | |
| import { Observable, Observer } from 'rxjs'; | |
| @Injectable() | |
| export class SessionService { | |
| public isLoggedIn: Observable<any>; | |
| private isLoggedInObserver: Observer<any>; |
| <a href="https://pouchdb.com/api.html">PouchDB API</a> | |
| <a href="https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md">ng1 Style Guide</a> | |
| <a href="http://ionicframework.com/docs/api/">Ionic 1 JS API</a> | |
| <a href="http://usejsdoc.org/">JSDoc</a> |
| 'use strict'; | |
| /** | |
| * make a new Metronome based on the provided temp | |
| * ideas from: | |
| * https://github.com/cwilso/metronome/ | |
| */ | |
| angular.module('main') | |
| .factory('Metronome', function ( $window ) { |