Unused label error comming


#1

unused label error comming at navCtrl: any=NavController;

import { Component, Injectable } from '@angular/core';
import {NavController, Nav, NavParams, IonicPage, LoadingController} from 'ionic-angular';
import { HttpService } from '../../services/httpService';
import {memberChat} from './memberChat';
import { Http, Headers, XHRBackend, Request, RequestOptions, RequestOptionsArgs, Response } from '@angular/http';
@Component({
    selector:'chat-List',    
    templateUrl: 'onlineMembers.html'
 })
 //[name]="'logo-' + item.icon" [ngStyle]="{'color': item.color}"
  export class OnlineMemberTab {
     shownGroup = null;
     chatListHeaders :any[]=['Already Contacted Members','Shortlisted Profiles','Prefered Matching Profiles'];
     onlineMembers={};
     navCtrl: any=NavController;
        // this tells the tabs component which Pages
    // should be each tab's root Page   
    constructor(private http: HttpService) {       
        @ViewChild(navCtrl) navCtrl: NavController;