TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
narasiman rao
NA
519
767.3k
Ts declartion excepted this error shows in main.ts page
Dec 7 2017 11:27 PM
Main.ts code as follows
import { NgModule } from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import { AppComponent } from './app/app.component';
import {EmployeeService} from './app/app.service';
import { enableProdMode } from '@angular/core';
import { environment } from './environments/environment';
import { AppModule } from './app/app.module';
import { Component } from '@angular/core/src/metadata/directives';
if (environment.production) {
enableProdMode();
}
@NgModule({
imports: [BrowserModule, FormsModule, HttpModule],
declarations: [AppComponent],
providers: [EmployeeService]
})
platformBrowserDynamic().bootstrapModule(AppModule);
when i run the above code shows error as follows
ts declartion excepted
what is the mistake in my above code.
Reply
Answers (
0
)
in browser shows empty out put is not displaying
MVC 4 Web Project For File Upload