This is an addon starter template for the Ionic Framework. I'm trying to make SideMenu and Tabs working together the best way, keeping the total separation between views. There's a fork example (and many others you can find on codepen) that injects the view into the code. It's here, but it's not the proof of this repo.
There's an article about what I'm doing here and the working pen here.
This template does not work on its own. It is missing the Ionic library, and AngularJS.
To use this, either create a new ionic project using the ionic node.js utility, or copy and paste this into an existing Cordova project and download a release of Ionic separately.
Take the name after ionic-starter-
, and that is the name of the template to be used when using the ionic start
command below:
$ sudo npm install -g ionic cordova
$ ionic start myApp sidemenu
Then, to run it, cd into myApp
and run:
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
Substitute ios for android if not on a Mac, but if you can, the ios development toolchain is a lot easier to work with until you need to do anything custom to Android.
http://codepen.io/mircobabini/pen/gLkli
Feel free to fork this repo, the pen or anything else. Feel also free to submit any issues or requests.