15 Creating a NativeScript App with Angular
This chapter covers:
- Why you may want to create NativeScript apps with Angular
- How to create and run a NativeScript-with-Angular app
- The structure of an Angular app
In the last chapters, we finished the Pet Scrapbook app and you learned how to prepare it for deployment to the App Store and Google Play store. We could stop here, and you’d have the tools and understanding needed to start writing your own apps with NativeScript. But, that wouldn’t be fair because there’s more to NativeScript than vanilla NativeScript. You can also create NativeScript apps with Angular, also known as NativeScript-with-Angular apps.
DEFINITION
NativeScript-with-Angular apps are a type of NativeScript app that is written using the Angular JavaScript framework. Apps still rely on NativeScript’s core modules and the NativeScript runtime, but let you replace NativeScript’s app structure, page definition, navigation, and data binding with the corresponding Angular way of doing things.
Angular (a.k.a. Angular 2+) is the successor to the popular web development framework, Angular 1 (also known as AngularJS). Like NativeScript, Angular is an open source JavaScript framework, and it’s maintained by Google and other development community members.