how can I use model-classes in angular 2?
here is an example
Model
namespace model.car {
    export class CoolCar {
        Id: string;
        Name: string;
        constructor(){
        }
    }
    export class NiceCar {
        Id: string;
        Name: string;
        constructor(){
        }
    }
}
namespace model.bike {
    export class AwesomeBike {
        Id: string;
        Name: string;
        constructor(){
        }
    }
}
I would like to use them in my classes like
var car=new model.car.CoolCar();
but when I run this in my browser I get an error
"ReferenceError: 'model' is undefined"
I tried to Import the model-classes like
import {CoolCar} from '../model/car/CoolCar'
but then I get an error in VS2015:
File "c:/...../model/car/CoolCar.ts is" no module
Could anybody help me here?
Tobias