app.js
angular.module('starter', ['ionic','ngcordova'])
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
cordova.plugins.Keyboard.disableScroll(true);
}
if(window.StatusBar) {
StatusBar.styleDefault();
}
})
})
.config(function($stateProvider,$urlRouterProvider){
$stateProvider
.state('home', {
url: '/',
templateUrl: 'templates/home.html'
})
.state('faculty', {
url: '/faculty',
templateUrl: 'templates/faculty.html'
})
.state('calender', {
url: '/calender',
templateUrl: 'templates/calender.html'
})
;
$urlRouterProvider.otherwise('/');
})