Hi all, 

I am new to Angular 2 and try to build up a prototype with it and Meteor. 
Currently, I stuck with the organizing the Angular router. In my setup, 

{ path: "/registration",   as: 'RegistrationIndex',    component: 
RegistrationComponent }

and this is the RegistrationComponent

import {Component, View} from 'angular2/angular2'

@Component({
 selector: 'registration'
})
@View({
 templateUrl: 'client/app/user/registration.html'
})
export class RegistrationComponent {
}

The above link can be accessed from the browser; however, if I change the 
router into 

{ path: "/user/registration",   as: 'RegistrationIndex',    component: 
RegistrationComponent }

Then it will show the blank page on the browser. How can I solve this ? 


Cheers, 

Thai

-- 
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