Who create a component implements other class? in ionic2?
Cordova CLI: Not installed Ionic Version: 2.0.0-beta.3 Ionic CLI Version: 2.0.0-beta.23 Ionic App Lib Version: 2.0.0-beta.13 ios-deploy version: Not installed ios-sim version: 5.0.4 OS: Mac OS X El Capitan Node Version: v5.1.0 Xcode version: Xcode 7.3 Build version 7D175
Hmm… um… em… what? Provider?
I’m trying to make a component that implement the Control class ValueAccessor but whenever implements always use syntax error occurs
`
import {Component, ViewContainerRef, Input, Output, EventEmitter, AfterViewInit} from ‘angular2/core’;
import {NgIf, NgFor, NgClass, NgModel, FORM_DIRECTIVES, ControlValueAccessor} from ‘angular2/common’;
import * as moment_ from ‘moment’;
const moment: moment.MomentStatic = (moment_)[‘default’] || moment_;
@Component({
selector: ‘datepicker’,
templateUrl: ‘build/pages/components/datePicker.html’,
providers: [],
directives: [FORM_DIRECTIVES, NgIf, NgFor, NgClass],
pipes: []
})
export class Calendar implements ControlValueAccessor, AfterViewInit{`
}