// Ionic Starter App

// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
// 'starter.controllers' is found in controllers.js
angular.module('starter', ['ionic', 'starter.controllers'])

.run(function($ionicPlatform) {
  $ionicPlatform.ready(function() {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if (window.cordova && window.cordova.plugins.Keyboard) {
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
    }
    if (window.StatusBar) {
      // org.apache.cordova.statusbar required
      StatusBar.styleDefault();
    }
  });
})

.config(function($stateProvider, $urlRouterProvider) {
  $stateProvider

  .state('app', {
    url: "/app",
    abstract: true,
    templateUrl: "templates/menu.html",
    controller: 'AppCtrl'
  })

  .state('app.search', {
    url: "/search",
    views: {
      'menuContent': {
        templateUrl: "templates/search.html"
      }
    }
  })

  .state('app.browse', {
    url: "/browse",
    views: {
      'menuContent': {
        templateUrl: "templates/browse.html"
      }
    }
  })
    .state('app.playlists', {
      url: "/playlists",
      views: {
        'menuContent': {
          templateUrl: "templates/playlists.html",
          controller: 'PlaylistsCtrl'
        }
      }
    })

  .state('app.single', {
    url: "/playlists/:playlistId",
    views: {
      'menuContent': {
        templateUrl: "templates/playlist.html",
        controller: 'PlaylistCtrl'
      }
    }
  });
  // if none of the above states are matched, use this as the fallback
  $urlRouterProvider.otherwise('/app/playlists');
});

@@ -330,27 +330,38 @@
 le('
-star
+confboilerpla
 te
-r
 ', %5B
+%0A  
 'ionic',
  'st
@@ -356,25 +356,35 @@
 'ionic',
- 'star
+%0A  'confboilerpla
 te
-r
 .control
@@ -388,16 +388,17 @@
 rollers'
+%0A
 %5D)%0A%0A.run
@@ -909,16 +909,18 @@
 rovider%0A
+  
 %0A  .stat
@@ -1057,36 +1057,406 @@
 app.
-search', %7B%0A    url: %22/search
+about', %7B%0A    url: %22/about%22,%0A    views: %7B%0A      'menuContent': %7B%0A        templateUrl: %22templates/about.html%22,%0A        controller: 'AboutCtrl'%0A      %7D%0A    %7D%0A  %7D)%0A%0A  .state('app.location', %7B%0A    url: %22/location%22,%0A    views: %7B%0A      'menuContent': %7B%0A        templateUrl: %22templates/location.html%22,%0A        controller: 'LocationCtrl'%0A      %7D%0A    %7D%0A  %7D)%0A  %0A  .state('app.speakers', %7B%0A    url: %22/speakers
 %22,%0A 
@@ -1527,19 +1527,57 @@
 es/s
+p
 ea
-rch
+kers
 .html%22
+,%0A        controller: 'SpeakersCtrl'
 %0A   
@@ -1607,21 +1607,23 @@
 te('app.
-brows
+schedul
 e', %7B%0A  
@@ -1631,21 +1631,23 @@
  url: %22/
-brows
+schedul
 e%22,%0A    
@@ -1714,20 +1714,58 @@
 tes/
-browse.html%22
+schedule.html%22,%0A        controller: 'ScheduleCtrl'
 %0A   
@@ -1780,20 +1780,23 @@
  %7D%0A  %7D)%0A
+%0A
     
+  
 .state('
@@ -1803,22 +1803,22 @@
 app.
-playlist
+detail
 s', %7B%0A
+  
     
@@ -1830,20 +1830,31 @@
 : %22/
-playlists
+details/:detailsId
 %22,%0A
+  
     
@@ -1868,24 +1868,26 @@
 : %7B%0A        
+ 
+ 
 'menuContent
@@ -1883,32 +1883,34 @@
 menuContent': %7B%0A
+  
           templa
@@ -1928,23 +1928,30 @@
 plates/p
-laylist
+artials/detail
 s.html%22,
@@ -1943,32 +1943,34 @@
 /details.html%22,%0A
+  
           contro
@@ -1980,23 +1980,23 @@
 r: '
-Playlist
+Detail
 sCtrl'%0A
+  
     
@@ -2011,17 +2011,23 @@
     
+  
 %7D%0A    
+ 
+ 
 %7D)%0A
+  
 %0A  .
@@ -2042,13 +2042,15 @@
 pp.s
-ingle
+ponsors
 ', %7B
@@ -2065,29 +2065,206 @@
 : %22/
-playlists/:playlistId
+sponsors%22,%0A    views: %7B%0A      'menuContent': %7B%0A        templateUrl: %22templates/sponsors.html%22,%0A        controller: 'SponsorsCtrl'%0A      %7D%0A    %7D%0A  %7D)%0A  %0A  .state('app.partners', %7B%0A    url: %22/partners
 %22,%0A 
@@ -2331,23 +2331,23 @@
 plates/p
-laylist
+artners
 .html%22,%0A
@@ -2368,23 +2368,23 @@
 ller: 'P
-laylist
+artners
 Ctrl'%0A  
@@ -2401,16 +2401,17 @@
 %7D%0A  %7D);%0A
+%0A
   // if 
@@ -2514,17 +2514,16 @@
 app/
-playlists
+schedule
 ');%0A

Define desired routing