How to `load dynamically page` in same template using `meteor js`

I need how to load dynamically page loading in same page using meteor js.I will develop for Admin panel ,after login Admin display admin details dynamically with same template page.


You can put the details in a conditional:

<template name="example">
    {{#if admin}}
        Admin details


Template.example.admin = function() {
    return Meteor.user() && Meteor.user().admin;

I'd suggest you use routes for this. This also allows you to control what other users see when they aren't admin and redirect, etc. instead of using a crazy number of conditional statements. For an example of an admin interface that is actually added via a smart package, see the following files, which use iron-router:

Need Your Help

Class has no initializers Swift

ios uitableview swift

I have a problem with Swift class. I have a swift file for UITableViewController class and UITableViewCell class. My problem is the UITableViewCell class, and outlets. This class has an error Class "