Giter Site home page Giter Site logo

gaps's Introduction

generator-angular-phonegap-seed

A Yeoman generator for getting started with PhoneGap and AngularJS (with routing!). Takes you from zero to a barebones Angular app in seconds.

Dependencies

This generator assumes you have a PhoneGap project ready to go. If not, PhoneGap-CLI is a great place to start.

Projects are created using the latest version of the unstable branch from Angular's nightly builds.

Usage

Install the generator:

$ npm install -g generator-angular-phonegap-seed

Navigate to your previously created PhoneGap project:

$ cd myAwesomeMobileApp

Initiate the generator:

$ yo angular-phonegap-seed

Run the app on your platform of choice:

$ phonegap run ios

Directory structure:

Note: On Angular 1.2, the routing service has been removed from core. It must be included explicitly.

/www
    /css
        - index.css
    /img
        - logo.png
    /js
        - app.js
        - controllers.js
        - index.js
        - services.js
    /lib
        - angular.js
        - angular-route.js
    /partials
        - main.html
        - view.html
    /res
        // app and cordova images
    /spec
        // tests

Build and run your project, and you should be good to go.

Roadmap

  • Subgenerators
  • Choice between Angular stable or unstable
  • Tests

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

gaps's People

Contributors

thewildpendulum avatar georgicodes avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.