// 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'
angular.module('starter', ['ionic'])

.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) {
      StatusBar.styleDefault();
    }
  });
})

@@ -292,16 +292,39 @@
 %5B'ionic'
+, 'starter.controllers'
 %5D)%0A%0A.run
@@ -715,8 +715,1744 @@
  %7D);%0A%7D)%0A
+%0A.config(function($stateProvider, $urlRouterProvider, $ionicConfigProvider) %7B%0A%0A    $stateProvider.state('app', %7B%0A        url: '/app',%0A        abstract: true,%0A        templateUrl: 'templates/menu.html',%0A        controller: 'AppCtrl'%0A    %7D)%0A%0A    .state('app.todolists', %7B%0A        url: '/todolists',%0A        views: %7B%0A            'menuContent': %7B%0A                templateUrl: 'templates/todolists.html',%0A                controller: 'TodolistCtrl'%0A            %7D,%0A            'fabContent': %7B%0A                template: '%3Cbutton id=%22fab-todolists%22 class=%22button button-fab button-fab-top-right expanded button-energized-900 flap%22%3E%3Ci class=%22icon ion-paper-airplane%22%3E%3C/i%3E%3C/button%3E',%0A                controller: function ($timeout) %7B%0A                    $timeout(function () %7B%0A                        document.getElementById('fab-todolists').classList.toggle('on');%0A                    %7D, 200);%0A                %7D%0A            %7D%0A        %7D%0A    %7D)%0A%0A    .state('app.todos', %7B%0A        url: '/todos',%0A        views: %7B%0A            'menuContent': %7B%0A                templateUrl: 'templates/todos.html',%0A                controller: 'TodosCtrl'%0A            %7D,%0A            'fabContent': %7B%0A                template: '%3Cbutton id=%22fab-todos%22 class=%22button button-fab button-fab-top-left expanded button-energized-900 spin%22%3E%3Ci class=%22icon ion-chatbubbles%22%3E%3C/i%3E%3C/button%3E',%0A                controller: function ($timeout) %7B%0A                    $timeout(function () %7B%0A                        document.getElementById('fab-todos').classList.toggle('on');%0A                    %7D, 900);%0A                %7D%0A            %7D%0A        %7D%0A    %7D)%0A    ;%0A%0A    // if none of the above states are matched, use this as the fallback%0A    $urlRouterProvider.otherwise('/app/todolists');%0A%7D);%0A

Add config for views.