NgCordova screenshot

NgCordova

Author Avatar Theme by Navcore
Updated: 15 Oct 2017
28 Stars

Angular 4 + Cordova Boilerplate

Overview

NgCordova is an impressive boilerplate that seamlessly combines Angular 4 with Cordova, allowing developers to create hybrid mobile applications effectively. This setup is particularly beneficial for those looking to leverage the strengths of Angular while tapping into Cordova’s capabilities for building cross-platform applications. With an easy installation process and robust development features, NgCordova sets the stage for a smooth development journey.

Setting up NgCordova is straightforward, making it accessible even for developers who might be new to either Angular or Cordova. With clear steps for installation and configuration, you can dive right into building your application without getting overwhelmed by complex setups.

Features

  • Easy Installation: Set up your development environment quickly by installing Node.js and Cordova using simple npm commands.
  • Development Server: Use ng serve to launch a development server, allowing for real-time updates as you modify your source code.
  • Pre-configured Project Structure: Start your project with a well-organized folder structure, specifically the src/ directory for Angular application files.
  • Cross-Platform Support: Easily add and switch between multiple Cordova platforms like browser, Android, and iOS with simple command-line instructions.
  • Customizable Base URL: Adjust the base URL in your index.html to optimize compatibility for both Android and iOS applications.
  • Build Artifacts Management: Build your Angular project and locate the artifacts in the www/ directory, simplifying the deployment process.
  • Production Build Option: Use the -prod flag when building the Angular project to create a version optimized for production use.
  • Streamlined Cordova Commands: Run or build your Cordova app with straightforward commands, making the transition from development to deployment hassle-free.