Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("<main 
class="container wrap" role="main">

    <input type="text" title="" class="cash" [ERROR ->][(ngModel)]="cash">

    <h2>Cash left to enter races: <span>{{cashLeft() | 
currency:'USD':true}}</sp"): RacesComponent@1:45 ; Zone: <root> ; Task: 
Promise.then ; Value: Object { message: "Template parse errors: Can't bind 
t…", stack: "BaseException@http://localhost:6334…"; } 
BaseException@http://localhost:63342/Angular2/angular2-quickstart/node_modules/@angular/compiler/bundles/compiler.umd.js:5116:27
TemplateParser</TemplateParser.prototype.parse@http://localhost:63342/Angular2/angular2-quickstart/node_modules/@angular/compiler/bundles/compiler.umd.js:8318:23
RuntimeCompiler</RuntimeCompiler.prototype._compileTemplate@http://localhost:63342/Angular2/angular2-quickstart/node_modules/@angular/compiler/bundles/compiler.umd.js:15941:34
RuntimeCompiler</RuntimeCompiler.prototype._compileComponents/compile/<@http://localhost:63342/Angular2/angular2-quickstart/node_modules/@angular/compiler/bundles/compiler.umd.js:15869:81
RuntimeCompiler</RuntimeCompiler.prototype._compileComponents/compile@http://localhost:63342/Angular2/angular2-quickstart/node_modules/@angular/compiler/bundles/compiler.umd.js:15869:41
Zone</ZoneDelegate</ZoneDelegate.prototype.invoke@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:332:20
Zone</Zone</Zone.prototype.run@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:225:25
scheduleResolveOrReject/<@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:591:53
Zone</ZoneDelegate</ZoneDelegate.prototype.invokeTask@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:365:24
Zone</Zone</Zone.prototype.runTask@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:265:29
drainMicroTaskQueue@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:497:26
ZoneTask/this.invoke@http://localhost:63342/Angular2/angular2-quickstart/node_modules/zone.js/dist/zone.js:437:26

_________________________________________________________________________
@Component({
    selector: 'my-races',
    templateUrl: 'app/races.component.html',
    // styleUrls: ['app/races.component.css']
    styleUrls: ['FGH_common.css']
})

export class RacesComponent {
    heading = "Ultra Racing Schedule";
    cash = 10000;
    races: Race[];


-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to