Skip to content

Commit

Permalink
Step 1.7: Add base app file
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 22, 2016
1 parent 1816f2b commit dbba8b2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/app.js
@@ -0,0 +1,23 @@
import Angular from 'angular';
import Ionic from 'ionic';
import Keyboard from 'cordova/keyboard';
import StatusBar from 'cordova/status-bar';

const App = 'whatsapp';

Angular.module(App, [
'ionic'
]);

Ionic.Platform.ready(() => {
if (Keyboard) {
Keyboard.hideKeyboardAccessoryBar(true);
Keyboard.disableScroll(true);
}

if (StatusBar) {
StatusBar.styleLightContent();
}

Angular.bootstrap(document, [App]);
});

0 comments on commit dbba8b2

Please sign in to comment.