Giter Site home page Giter Site logo

angular-phonegap-seed's Introduction

angular-phonegap-seed

Disclaimer

This repo is no longer under active development. Instead, there's now a shiny new Yeoman generator. Check it out! https://github.com/thewildpendulum/gaps

About

A barebones seed project for getting started with PhoneGap and AngularJS (with routing!)

Built using PhoneGap-CLI:

  • Cordova: 3.1.0
  • Angular: 1.2.0-rc.3

This project also includes a service for wrapping calls to Cordova APIs as presented by Brian Ford in this awesome blog post.

Install

You just need to get these files into YourPhoneGapProject/www/, so either git clone <url> www or download the zip and move 'em in there.

A Yeoman generator is on the way.

Directory structure:

Note: As of Angular 1.2, the routing service has been removed from core. It is now included explicitly in /lib.

/angular-phonegap-seed
    /css
        - index.css
    /img
        - logo.png
    /js
        - app.js
        - controllers.js
        - index.js
        - services.js
    /lib
        - angular-1.2.0-rc3.js
        - angular-1.2.0-rc3.min.js
        - angular-route.js
        - angular-route.min.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.

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.

angular-phonegap-seed's People

Contributors

themphill avatar thewildpendulum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-phonegap-seed's Issues

Make Into a Yeoman Generator

I just wasted 2 hours trying to get Yeoman's generator-angular to play nice with the phonegap project. This could be really useful in the wider eco-system.

doesn't work

with Angular 1.2.6 it's not working
even changing the urlSanitizationWhitelist to aHrefSanitizationWhitelist + domain whitelist doesn't fix it

Any ideas?

Use with Angular 1.1.5

Thanks for making this project. I've recently used it in a project and it's a great starting point. Although with the release of angular 1.1.5 the app.js file is no longer needed when using cordova 2.7.0.

Angular actually bootstraps it self. I am not 100% on how but i believe that angular either listening for the DeviceReady event it self, or cordova fires another, recognized event.

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.