diff --git a/example/angular/app.css b/example/angular/app.css
index 93186a5249..c4e72c03ae 100644
--- a/example/angular/app.css
+++ b/example/angular/app.css
@@ -11,17 +11,58 @@
transition: transform 1s ease-in-out;
*/
}
-.reveal-animation.ng-enter {
+.reveal-animation > .ng-enter {
-webkit-transition: 0.2s linear all;
-webkit-transform:translate3d(100%,0,0) ;
}
-.reveal-animation.ng-enter-active {
+.reveal-animation > .ng-enter-active {
-webkit-transform:translate3d(0,0,0) ;
}
-.reveal-animation.ng-leave {
+.reveal-animation > .ng-leave {
-webkit-transition: 0.2s linear all;
-webkit-transform:translate3d(0,0,0);
}
-.reveal-animation.ng-leave-active {
+.reveal-animation > .ng-leave-active {
-webkit-transform:translate3d(-100%,0,0);
}
+
+
+.animate-switch-container {
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+}
+
+.animate-switch-container > div {
+ padding:10px;
+}
+
+.animate-switch-container > .ng-enter,
+.animate-switch-container > .ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ -moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ -o-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+}
+
+.animate-switch-container > .ng-enter {
+ top:-50px;
+}
+.animate-switch-container > .ng-enter.ng-enter-active {
+ top:0;
+}
+
+.animate-switch-container > .ng-leave {
+ top:0;
+}
+.animate-switch-container > .ng-leave.ng-leave-active {
+ top:50px;
+}
diff --git a/example/angular/index.html b/example/angular/index.html
deleted file mode 100644
index 9a0fc4c784..0000000000
--- a/example/angular/index.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- Example
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/example/angular/menu.js b/example/angular/menu.js
deleted file mode 100644
index 3e7de776b6..0000000000
--- a/example/angular/menu.js
+++ /dev/null
@@ -1,41 +0,0 @@
-angular.module('ionic.menu', [])
-
-.controller('LeftRightMenuController', ['$scope', '$element',
-function LeftRightMenuCtrl($scope, $element) {
- var ctrl = ion.controllers.LeftRightMenuViewController;
-
- $scope.controllerInitData = {};
-
- $scope.initIonicController = function() {
- $scope._ionicController = new ctrl($scope.controllerInitData);
- };
-}])
-
-.directive('ionicLeftRightMenu', function() {
- return {
- restrict: 'EA',
- controller: 'LeftRightMenuController',
- link: function($scope, element, attributes) {
- $scope
- console.log('link', $scope);
- }
- }
-})
-
-/*
-.directive('ionicMenu', function() {
- return {
- restrict: 'EA',
- controller: '',
- compile: function(elm, attrs, transclude) {
- return function(scope, element, attrs, menuCtrl) {
- console.log('Compile');
- };
- },
- link: function(scope) {
- console.log('link');
- }
- }
-});
-
-*/
diff --git a/example/angular/panel.js b/example/angular/panel.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/example/toderp/app.css b/example/toderp/app.css
index 7140e1d7e1..5c98e6bd23 100644
--- a/example/toderp/app.css
+++ b/example/toderp/app.css
@@ -11,7 +11,8 @@ label {
input {
background-color: transparent !important;
}
-#login {
+/*
+#signup-button {
position: fixed;
bottom: 10px;
z-index: 4;
@@ -19,3 +20,36 @@ input {
left: 10px;
right: 10px;
}
+*/
+.pane {
+ position: fixed;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+}
+.reveal-animation {
+ /*
+ -webkit-transform: translate3d(0%, 0, 0);
+ transform: translate3d(0%, 0, 0);
+
+ -webkit-transition: -webkit-transform 1s ease-in-out;
+ transition: transform 1s ease-in-out;
+ */
+}
+.reveal-animation > .ng-enter {
+ -webkit-transition: .2s ease-in-out all;
+ -webkit-transform:translate3d(100%,0,0) ;
+}
+.reveal-animation > .ng-enter-active {
+ -webkit-transform:translate3d(0,0,0) ;
+}
+.reveal-animation > .ng-leave {
+ -webkit-transition: .2s ease-in-out all;
+ -webkit-transform:translate3d(0%,0,0);
+}
+.reveal-animation > .ng-leave-active {
+ -webkit-transition: .2s ease-in-out all;
+ -webkit-transform:translate3d(-100%,0,0);
+}
+
diff --git a/example/toderp/app.js b/example/toderp/app.js
index 308deed8d7..9fd01bce23 100644
--- a/example/toderp/app.js
+++ b/example/toderp/app.js
@@ -1,4 +1,4 @@
-angular.module('toderp', [])
+angular.module('toderp', ['firebase'])
.factory('TaskStorageService', function() {
return {
diff --git a/example/toderp/index.html b/example/toderp/index.html
index a374081f1f..e8228f85f7 100644
--- a/example/toderp/index.html
+++ b/example/toderp/index.html
@@ -1,4 +1,4 @@
-
+
ToDerp
@@ -9,37 +9,74 @@
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-