Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can We work with Ionic 2 and AngularJs 1?

I would like to develop applications using Ionic 2, but now I am working with angularJS1 with Ionic1.

I feel that AngularJs 1 is comfortable for me but not AngularJS 2, so is there any way to work with Ionic 2 and AngularJS 1?

like image 858
Gopinath Kaliappan Avatar asked Mar 12 '16 07:03

Gopinath Kaliappan


People also ask

Does Ionic use Angular or AngularJS?

Ionic comprises a few dozens of components extending to different functionalities. JavaScript portions of the hybrid mobile apps can be built with the help of AngularJS, and Ionic is built using Angular 1.0.

Is Angular required for Ionic?

As you may know, Ionic is built on top of Angular. (if you didn't know this, you should consider reading Ionic Framework introduction and key components).

Is Angular or Ionic better?

"Quick to develop", "Great mvc" and "Powerful" are the key factors why developers consider AngularJS; whereas "Allows for rapid prototyping", "Hybrid mobile" and "It's angularjs" are the primary reasons why Ionic is favored.

Is Ionic same as Angular?

AngularJS is a open source web application framework mainly to build single page apps (SPAs). Ionic framework is used for developing native like mobile applications using a web technology stack consisting of HTML5, CSS3, SAAS, AngularJS and Cordova. How can applications be built using ionic?


1 Answers

Unfortunately, no.

Ionic 2 is based on the new 2.x (and higher) version of AngularJS, and comes with many significant performance, usability, and feature improvements.

Ionic (1) at a very high-level is essentially just a wrapper & directive/component library for AngularJS (1). In that same regard, Ionic 2 is built in the same way, utilizing all the benefits of Angular 2+.

So basically, everything must be upgraded in order to get the benefits of Ionic 2. If everything you have is working, and performance isn't sluggish, there really is no reason to upgrade it, maybe if you were starting a new project (or the current project you have is small and it would be easy)

like image 193
Mark Pieszak - Trilon.io Avatar answered Sep 17 '22 18:09

Mark Pieszak - Trilon.io