I am trying to show an `OAuthComponent` in my `GettingStartedPage` 
component. The `OAuthComponent` is not showing up when served to my 
browser. No errors.

Stack post <http://stackoverflow.com/q/34031481/427763>

---

    OAuthComponent.ts
    
    import {Page, NavController} from 'ionic/ionic';
    import {Component} from 'angular2/angular2'
    
    @Component({
        templateUrl: "app/authentication/components/oauth-component.html",
        selector: "oauth-component"
    })
    export class OAuthComponent {
    
        private nav: NavController;
    
        constructor(nav: NavController) {
            this.nav = nav;
        }
    }

---

    oauth-component.html
    
    <h1>
        Testing Something
    </h1>

---

    GettingStartedPage.ts
    
    import {Page, NavController} from 'ionic/ionic';
    import {OAuthComponent} from 
"../authentication/components/OAuthComponent";
    import "./getting-started.scss";
    
    @Page({
        templateUrl: 'app/getting-started/getting-started.html'
    })
    export class GettingStartedPage {
    
        private nav: NavController;
    
        constructor(nav: NavController) {
            this.nav = nav;
        }
    }

---

    getting-started.html
    
    <ion-navbar *navbar>
        <a menu-toggle>
            <icon menu></icon>
        </a>
    
        <ion-title>Getting Started</ion-title>
    </ion-navbar>
    
    <ion-content>
        <main>
            <oauth-component></oauth-component>
        </main>
    </ion-content>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to