Load app files with few settings
- npm
- gulp
npm install
gulp build
- To use hellfish library just install with bower
bower install hellfishjs --save
Put on your www a folder app with this files
www
└───app
│ app.json
│ routes.json
└───locale
│ es.json
│ en.json
On your app.js
Load the module Hellfish
angular.module('myCoolApp', ['ionic', 'hellfish']);
and create the Hellfish App
// Add this line
var App = new Hellfish.App();
App.Controller("HomeCtrl", function($scope, $ionicSideMenuDelegate, $cordovaStatusbar){
if (window.StatusBar) $cordovaStatusbar.styleHex('#5469AD');
$scope.toggleMenu = function(){
$ionicSideMenuDelegate.toggleLeft();
}
});