IONIC vs IONIC2


#1

Hi,

I’m sorry if I’m asking a stupid question, but I tried to understand and nothing until now.

Ionic v1 is Angular and Ionic v2 is what language?

indent preformatted text by 4 spaces import { LoadingController } from 'ionic-angular';

export class MyPage {
constructor(public loadingCtrl: LoadingController) {
}

presentLoading() {
let loader = this.loadingCtrl.create({
content: “Please wait…”,
duration: 3000
});
loader.present();
}
}

Which language is that? Because for me it’s a little different than Angular.

Other question, Can i still working with Ionic V1 version with angular or it’s already deprecated?

I’m trying to add a maps in my app and found in both ways.

Thanks in advance


#2

It’s Angular 2 in typescript as far as I know :slight_smile:


#3

Humm… I didn’t know that angular 2 alredy exists…I found some examples in web and you are right very similar with the code that I posted.

Thank you for your help friend…

Bye :slight_smile: