# Ionic with Angular JS

**URL:** <https://forum.ionicframework.com/t/ionic-with-angular-js/189842>\
**Category:** ionic-v1\
**Created:** [May 21, 2020, 6:40am UTC](https://forum.ionicframework.com/t/ionic-with-angular-js/189842 "2020-05-21T06:40:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![w3bnetau](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/w3bnetau/32/132273_2.png) [@w3bnetau](https://forum.ionicframework.com/u/w3bnetau)\
**Post date:** [May 21, 2020, 6:40am UTC](https://forum.ionicframework.com/t/ionic-with-angular-js/189842/1 "2020-05-21T06:40:34Z")

</div>

Is it possible to use a recent version of Ionic cli along with AngularJS rather than Angular?

I have tried --type=ionic1 with the Ionic cli, and I have tried creating Apache Cordova apps and adding Ionic and AngularJS to it, but I don’t seem to get there very easily. Ionic shouldn’t care too much about what framework I use, and so it should be able to just work with AngularJS as well as Angular, React, Vue and so on, is that right?

How should I create this project? Do I still need to use --type=ionic1, and add angular with npm? And copy those files into www/js for building, using ionic capacitor add android/ionic cordova platform add android?

Also does it work with AngularJS routing or does it use a separate plugin installed with npm? Like ui-router?

Thanks!

---

<div class="post-metadata">

**Author:** ![w3bnetau](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/w3bnetau/32/132273_2.png) [@w3bnetau](https://forum.ionicframework.com/u/w3bnetau)\
**Post date:** [May 21, 2020, 11:17pm UTC](https://forum.ionicframework.com/t/ionic-with-angular-js/189842/2 "2020-05-21T23:17:04Z")

</div>

This might work out:

[Convert Angular project into an Android app](https://medium.com/@christof.thalmann/convert-angular-project-to-android-apk-in-10-steps-c49e2fddd29)

It’s specifically tested for Angular apps, but might work out for AngularJS. Might be useful so will post back here if it works!

---

<div class="post-metadata">

**Author:** ![w3bnetau](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/w3bnetau/32/132273_2.png) [@w3bnetau](https://forum.ionicframework.com/u/w3bnetau)\
**Post date:** [May 22, 2020, 1:15am UTC](https://forum.ionicframework.com/t/ionic-with-angular-js/189842/3 "2020-05-22T01:15:36Z")

</div>

Nope. 🙁

---

<div class="post-metadata">

**Author:** ![w3bnetau](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/w3bnetau/32/132273_2.png) [@w3bnetau](https://forum.ionicframework.com/u/w3bnetau)\
**Post date:** [May 22, 2020, 1:19am UTC](https://forum.ionicframework.com/t/ionic-with-angular-js/189842/4 "2020-05-22T01:19:29Z")

</div>

This is good: [ion-nav-view with example code](https://ionicframework.com/docs/v1/api/directive/ionNavView/). From there I start adding pages, editing the HTML and JS, choosing new icons, and testing out the components and logic.

Can’t believe it took me a week to find this…

So what I did was `ionic create app-name blank --type=ionic1 --cordova` then put in the code from app.js and from inside the body tag in the example, pasted it into index.html. Then edit and `cordova platform add android` and so on as usual.

This seems to work so far…
