css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <html ng-app="ionicApp">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    
    <title>Sign-in, Then Tabs Example</title>

    <link href='https://fonts.googleapis.com/css?family=Contacted+Sans:400,300,700' rel='stylesheet' type='text/css'>
     <link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <link href="https://code.ionicframework.com/1.0.0-beta.14/css/ionic.css" rel="stylesheet">
<script src="https://code.ionicframework.com/1.0.0-beta.14/js/ionic.bundle.js">
    <script src="js/ng-cordova.min.js"></script>
      
    
  </head>

  <body>
        
    <ion-nav-view animation="slide-left-right"></ion-nav-view>

	
	
	
    <script id="login.html" type="text/ng-template">
      <ion-view title="Sign-In">
        <ion-content class="logincontent">
        
         
          <div class="listclass"></br></br>
         </br></br>
            <div class="item item-divider">
     </br></br>  
	<h1 style="position:absolute;top:10px;left:60px;color:darkblue;width:430px;font-size:25px;    text-shadow: 2px 2px black;
">BELL'S BRANDING, INC.</h1></br></br>
	
            <label class="item item-input">
              
              <input type="text" class="input1" placeholder="Email Address" ng-model="user.email">
            </label></br>
            <label class="item item-input">
              <input type="password" ng-model="user.password" class="input1" placeholder="Password">
</label></br>

 <label class="checkbox checkbox-square checkbox-royal" style="position:absolute;left:38px;bottom:100px;left:65px;">
<input type="checkbox">
</label>
<label class="remember">
  &nbsp;&nbsp; Remember Me</label></br>
          <div class="logbutton">
            </br> <button class="button button-full button-positive" ng-click="LogIn(user)" style="border-radius:9px;background-color:darkblue;">
              ENTER
            </button>
			
			&nbsp;&nbsp;&nbsp;&nbsp;<label class="reg">Not a member?&nbsp;&nbsp;<a href="">Sign Up</a></label>
         </div>
          </div>
</div>
        </ion-content>
      </ion-view>
    </script>
	
	
	
	

    <script id="forgot-password.html" type="text/ng-template">
      <ion-view title="Forgot Password">
        <ion-content padding="true" class="forgotcontent">
          <div class="listclass">
         <div class="item item-divider">
          
          <p>
            Resetting Login...</br>
            <button class="button button-small button-dark" ui-sref="login">Sign-In</button>
          </div>
          </div>
        </ion-content>
      </ion-view>
    </script>
    
	
	
	
	
    <script id="menu.html" type="text/ng-template">
    <ion-side-menus enable-menu-with-back-views="false">
   <ion-side-menu-content class="menucontent" >
         <ion-nav-bar class="bar-stable nav-title-slide-ios7">
<ion-nav-buttons>  <img src="http://i63.tinypic.com/yj8sg.png" class="logo2" style="width:50px;height:50px;">
<button menu-toggle="left" class="button button-icon icon-left ion-navicon-round"></button>  
      <div class="list list-inset" id="searchbox">
  <label class="item item-input">
     <i class="icon ion-ios-search placeholder-icon" id="searchicon"></i>
        <input type="text" placeholder="Search by Vin #">
  </label></div>
   <button class="button  button-icon icon-right ion-ios-barcode-outline"></button>
     <button class="button  button-icon icon-right ion-loop" ui-sref="home.service_location"></button>
  </ion-nav-buttons>
  </ion-nav-bar></br></br></br>
</br>
    <ion-nav-view name="menuContent" animation="slide-left-right"></ion-nav-view>
   </ion-side-menu-content>
  <ion-side-menu side="left">
    <header class="bar bar-header bar-stable" style="background-color:black;">
      </br>
        <img src="http://i63.tinypic.com/a73gj.jpg" class="userface" style="width:30px;height:30px;border-radius:50%;"/></br>
   <label> &nbsp;&nbsp;&nbsp;Technical Consultant</label>
   </header>
    <ion-content class="sidemenustyle">
      </br></br>
        <div class="itemcss">
      <ion-item nav-clear menu-close href="#">  
          Erin Bell
          </ion-item></div>
           <div class="itemcss">
        <ion-item nav-clear menu-close href="http://www.bellsbranding.com" target="_blank">
          Visit Our Website
          </ion-item></div>
        <div class="itemcss">
        <ion-item nav-clear menu-close href="https://www.youtube.com/watch?v=4SyVIZO6cDQ&t=1s" target="_blank">
          Watch Our Commercial
          </ion-item></div>
       
          <div class="itemcss">
        <ion-item nav-clear menu-close href="http://www.erinbella.com/" target="_blank">
          Visit Our Blog
          </ion-item></div>
          <div class="itemcss">
        <ion-item nav-clear menu-close href="https://bellsbranding.tumblr.com/" target="_blank">
          Visit Our Tumblr
          </ion-item></div>
            <div class="itemcss">
        <ion-item nav-clear menu-close href="http://www.instagram.com/bellsbrandinginc/" target="_blank">
          
          Follow us on Instagram
          </ion-item></div>
            <div class="itemcss">
            <ion-item nav-clear menu-close href="https://www.facebook.com/bellsbrandinginc/" target="_blank">
          Follow us on Facebook
          </ion-item></div>
 <div class="itemcss">
        <ion-item nav-clear menu-close href="https://bellsbrandingportfolio.blogspot.com/" target="_blank">
          Visit Our Portfolio
          </ion-item></div>
		  <div class="itemcss">
        <ion-item nav-clear menu-close href="https://twitter.com/bellsbrandingin" target="_blank">
          Visit Our Twitter
          </ion-item></div>
		
		  <div class="itemcss">
        <ion-item nav-clear menu-close href="https://www.linkedin.com/in/erinlbell" target="_blank">
          Visit Our LinkedIn
          </ion-item></div>
      <div class="itemcss">  
		<ion-item nav-clear menu-close href="#/login">
          Logout
        </ion-item>
        </div>
    </ion-content>
  </ion-side-menu>
</ion-side-menus>
    </script>

	
	
	
	
    <script id="service_location.html" type="text/ng-template">
      <ion-view name="service_location" title="" class="service_location" ng-controller="servicesCtrl">
    
  <ion-nav-buttons>
    <h1 style="position:absolute;top:15px;left:330px;color:gray;"> Bell's Branding, Inc.</h1>
<button menu-toggle="left" class="button button-icon icon-left ion-navicon-round"></button>  
      <div class="list list-inset" id="searchbox" style="left:100px;width:900px;border-radius:9px;">
  <label class="item item-input" >
     <i class="icon ion-ios-search placeholder-icon" id="searchicon"></i>
        <input type="text" placeholder="Search"/>
  </label></div>
   <button class="button  button-icon icon-right ion-ios-barcode-outline" ></button>
     <button class="button  button-icon icon-right ion-loop" ui-sref="home.service_location"></button>
  </ion-nav-buttons>   
    <ion-content class="servicescontent" >
   </br></br>
      <div class="listservices">  
      <div class="item item-divider">
        </br></br><label class="servicelabel" style="color:darkgray;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		
		Services</label>

                 <button class="button icon-left ion-plus-circled dark larger" ui-sref="home.new_service">Add New</button></br></br></br></br>

        <ion-item ng-repeat="service in service_location" href="#/home/service_location/{{service.id}}">  

         <label class="servicelabels">
          
          {{service.start_time}} to {{service.end_time}}</br></label>
      <label class="servicelabels1">
           {{service.location}}
        </br>
          </label>
    <button class="button icon-left ion-android-more-horizontal"><label class="serviceid">{{service.id}}</label>
    </button>
<a href="http://www.bellsbranding.com" target="_blank"><label class="status">{{service.status}}</label></a><button class="button icon-right ion-chevron-right dark">
    </button>
</ion-item></br></br> </br>   
</div></br>  </div></br> 
  </ion-content>
    </ion-view>
    </script> 
	
	
	
 <script id="service_list.html" type="text/ng-template">
      <ion-view  >
    <ion-nav-buttons>
    <h1 style="position:absolute;top:15px;left:330px;color:gray;"> Bell's Branding, Inc.</h1>
<button menu-toggle="left" class="button button-icon icon-left ion-navicon-round"></button>  
      <div class="list list-inset" id="searchbox" style="left:100px;width:900px;border-radius:9px;">
  <label class="item item-input" >
     <i class="icon ion-ios-search placeholder-icon" id="searchicon"></i>
        <input type="text" placeholder="Search"/>
  </label></div>
   <button class="button  button-icon icon-right ion-ios-barcode-outline" ></button>
     <button class="button  button-icon icon-right ion-loop" ui-sref="home.service_location"></button>
  </ion-nav-buttons>  
        <ion-content ng-controller="service_listCtrl" class="service_location-detailcontent">
          </br></br></br></br>
        <div class="list">
         <div class="item item-divider">
          
           <ion-list>
            {{service.title}}
           ({{service.color}})
             </ion-list>
           <button class="button button-large button-outline" id="statusbutton" ng-click="addstatus()" ui-sref="home.service_location">Order</button>
           <button class="button button-large button-outline" id="statusbutton" ng-click="addstatus1()" ui-sref="home.service_location">Contact Me</button>
			<button class="button button-large button-outline" id="statusbutton" ng-click="addstatus2()" ui-sref="home.service_location">Save For Later</button>
           </br></br>
          </div></div>
        </content>
        </ion-view>
        </script>

   

    <script id="new_service.html" type="text/ng-template">
      <ion-view title="">
   <ion-nav-buttons>
    <h1 style="position:absolute;top:15px;left:330px;color:gray;"> Bell's Branding, Inc.</h1>
<button menu-toggle="left" class="button button-icon icon-left ion-navicon-round"></button>  
      <div class="list list-inset" id="searchbox" style="left:100px;width:900px;border-radius:9px;">
  <label class="item item-input" >
     <i class="icon ion-ios-search placeholder-icon" id="searchicon"></i>
        <input type="text" placeholder="Search"/>
  </label></div>
   <button class="button  button-icon icon-right ion-ios-barcode-outline" ></button>
     <button class="button  button-icon icon-right ion-loop" ui-sref="home.service_location"></button>
  </ion-nav-buttons> 
        <ion-content padding="true" ng-controller="new_serviceCtrl">
          <label class="servicelabel"> Create New service</label>
		  
	<button class="button icon-left ion-plus-circled dark larger" ui-sref="home.new_Service">Add Service</button></br></br></br></br>
          <ion-list>
		  {{service.title}}
		</ion-list>
		
        </ion-content>
      </ion-view>
    </script>
	
	    <script id="new_Service.html" type="text/ng-template">
      <ion-view title="">
  <ion-nav-buttons>
    <h1 style="position:absolute;top:15px;left:330px;color:gray;"> Bell's Branding, Inc.</h1>
<button menu-toggle="left" class="button button-icon icon-left ion-navicon-round"></button>  
      <div class="list list-inset" id="searchbox" style="left:100px;width:900px;border-radius:9px;">
  <label class="item item-input" >
     <i class="icon ion-ios-search placeholder-icon" id="searchicon"></i>
        <input type="text" placeholder="Search"/>
  </label></div>
   <button class="button  button-icon icon-right ion-ios-barcode-outline" ></button>
     <button class="button  button-icon icon-right ion-loop" ui-sref="home.service_location"></button>
  </ion-nav-buttons> 
        <ion-content ng-controller="new_ServiceCtrl">
          <label class="servicelabel"> Hire Me Now</label>
	</br></br></br></br></br></br>
<button>
	<a href="https://www.freelancer.com/u/ebizz2015.html" target="_blank"><label class="status">Hire Me</label></a></button>
	 

	
        </ion-content>
      </ion-view>
    </script>
	
	
	
    

  </body>
</html>
            
          
!
            
              

.logincontent{
  background-image: url('http://i67.tinypic.com/mmfzw1.jpg');
   background-size: cover;
  background-repeat: no-repeat center center fixed;
 
}
.logincontent .input-label{
 font-family:cursive; 
}
.logincontent .listclass{
   margin: 0 auto;
  width:400px;
  position:fixed;
  left:50%;
  margin-left:-200px;
  border-radius:15%;
}
.logincontent label.item.item-input{
  border-radius:8px;
  left:18px;
  width:360px;
  border:solid darkblue .3px;
  
  
}
div.toggle{
 border:none;
  background:none;
  font-size:10px;
}


.logincontent label.toggle{
  border:none;
  border-radius:12px;
  background:none;
  left:22px;
  top:11px;
  text-align:left !important;
  font-size:10px;
  position:relative;
  color:darkblue;
}
.logincontent div.item.item-divider{
  top:39px;
  background-color:#f2f2f2;
  position: fixed;
  border-radius:2% !important;
  padding-right:21px;
  padding-left:21px;
  height:360px;
}
.logincontent .bartext{
  margin-left: 120px !important;
  color:white;
  font-weight:bold;
  font-size:20px;
}

.logincontent .bar-stable {
    border-top: solid #00FF00 !important;
    background-color: 	#808080 !important;
  
}
.logincontent .listclass button{
  border-radius:2%;
  width:400px;
  left:0;
  }
.logincontent .input1{
  text-align:left;
  font-family: "SayWeb", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.logincontent .logo{
position:absolute;
top:-45px;
 margin-left:55px; !important;
  width:250px;
  height:210px;
  text-align:center;
  padding-bottom:50px;
}
.logincontent .forgot{
  font-size:12px;
  color: #808080;
}
.logincontent .remember{
  font-size:13px;
  position:absolute;
  left:98px;
  bottom:115px;
  color:darkblue;
}
.logincontent .checkbox-royal input:before,
.checkbox-royal .checkbox-icon:before {
border-color: blue;
}

.logincontent .checkbox-royal input:checked:before,
.checkbox-royal input:checked + .checkbox-icon:before {
background: blue;
border-color: blue;
}

.forgotcontent .listclass{
  width:150px;
  position:fixed;
  float:center;
  left:50%;
  margin-top: 200px;
  margin-left:-150px;
}

.menucontent .bar-stable {
    background-color:
black !important;
  
}
header.bar.bar-header.bar-stable {
    background-color:
black !important;
  
}
ion-nav-back-button.button-clear.button.back-button{
 top:0;          
  position:absolute;
  right:0;
}
.servicescontent button.button.icon-right.ion-chevron-right{

  position:absolute;
  top:28px;
  right:5px;
border: none;
background: none;
}
.servicescontent button.button.icon-left.ion-android-more-horizontal{
top:0;
  border: none;
background: black;
 position:absolute;
  left:-20px;
  width:48px;
  height:120%
}

.servicescontent button.button.icon-left.ion-android-more-horizontal:before{
  color:black;
  background-color:black;
  text-align:center;
}

.servicescontent button.button.icon-left.ion-android-more-horizontal #1{
top:0;
  border: none;
background: black;
 position:absolute;
  left:-20px;
  width:48px;
  height:120%
}

.servicescontent button.button.icon-left.ion-android-more-horizontal #1:before{
  color:black;
  background-color:black;
  text-align:center;
}

.servicescontent ion-item.item.item-complex{
  border:transparent;
  border-width: .5px;
  border-radius:15px;
  margin:14px auto;
}

.button.button.button-icon.icon-right.ion-android-arrow-back{
  top:0;
   position:absolute;
  right:0;
}
button.button.button-icon.ion-navicon-round{
  top:9px;  position:absolute;
  left:0;
  color:white;
}
button.button.button-icon.ion-navicon-round:before{
  font-size:30px !important;
}

 .button.button.button-icon.icon-right.ion-ios-barcode-outline{
  top:70px; 
  position:absolute;
  right:6px;
}
.button.button.button-icon.icon-right.ion-ios-barcode-outline:before{
  font-size:65px;
  color:white;
}
.logo2{
  top:8px;
  position:absolute;
  margin-left:260px;
}

#searchbox{
  top:50px;
  position:fixed;
  left:10px;
  width:470px;
  height:40px;
  margin-top:18px;
  border-radius:15px;
}

#searchbox #searchicon{
position:absolute;
right:0;
 font-size:30px;
  bottom:3px;
}


 .button.button.button-icon.icon-right.ion-loop{
  top:6px;  
   position:absolute;
  right:10px;
}
.button.button.button-icon.icon-right.ion-loop:before{
  font-size:30px;
  color:white;
}
 .button.button.button-icon.icon-right.ion-android-arrow-back:before{
  
  font-size:30px;
  color:white;
  top:80px;  
  position:absolute;
  right:15px;
}


.sidemenustyle{
 
  background-color: black !important;
  color: white;
  .scroll-content {
    background-color: black !important;
  }
}

  div.itemcss .item-content{
  background-color:black !important;
   border:black !important;
}
button.button.icon-left.ion-plus-circled{
 top:0;
  position:absolute;
  right:0;
border: none;
  background:none;
}
button.button.icon-left.ion-plus-circled:before{
 font-size:40px;
}
.servicescontent{
  margin:0;
  padding:none;
  top:0;
  background-color:#f2f2f2;
}

ion-view.service_location.pane{
  border:none;
  margin-top:-48px;
  
}

.service_location-detailcontent .listclass{
  width:250px;
  position:fixed;
  float:center;
  left:50%;
  margin-top: 20px;
  margin-left:-150px;
}
ion-header-bar.bar-stable.nav-title-slide-ios7.bar.bar-header
{
  padding-top:110px;
}
.servicelabel{
  font-size:50px;
  color:darkgray;
position:absolute;
  left:119px;
  text-align:center; 
}
.servicelabel1{
  font-size:11px;
  color:black;
  text-align:center;  
}
.servicelabels{
  position:relative;
  left:30px;
  font-size:13px;
    font-family: "SayWeb", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  color:		#808080 ;
      overflow: initial;
    white-space: initial;
}
.servicelabels1{
  position:relative;
  left:30px;
  font-size:20px;
  color:		#808080 ;
  font-family: "SayWeb", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight:bold;
      overflow: initial;
    white-space: initial;
}
.servicescontent .listservices{
  
  width:100%;
}

.servicescontent .serviceid{
  color:white;
  font-size:18px;
}
.servicescontent .status{
  position:absolute;
  right:60px;
  font-size:20px;
  top:23px;
  color: black;
}

.servicescontent div.item.item-divider{
  background-color:#f2f2f2 !important;
  height: 100%;
  
}


            
          
!
            
              angular.module('ionicApp', ['ionic'])

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

  $stateProvider

    .state('home', {
      url: "/home",
      abstract: true,
      templateUrl: "menu.html",
      controller: 'homeCtrl'
    })
	.state('home.service_location', {
      url: "/service_location",
      views: {
        'menuContent' :{
          templateUrl: "service_location.html",
          controller: 'servicesCtrl'
        }
      }
    })
	
	.state('home.service_list', {
      url: "/service_location/:serviceId",
      views: {
        'menuContent' :{
          templateUrl: "service_list.html",
          controller: 'service_listCtrl'
        }
      }
    })
	
	.state('home.new_service', {
      url: "/new_service",
      views: {
        'menuContent' :{
          templateUrl: "new_service.html",
		  controller: 'new_serviceCtrl'
        }
      }
    })
    .state('home.new_Service', {
      url: "/new_Service",
      views: {
        'menuContent' :{
          templateUrl: "new_Service.html",
		  controller: 'new_ServiceCtrl'
        }
      }
    })
	 .state('home.verify_Order1', {
      url: "/service_location/:serviceId",
      views: {
        'menuContent' :{
          templateUrl: "verify_Order1.html",
		  controller: 'verify_Order1Ctrl'
        }
      }
    })
	.state('home.verify_Order2', {
      url: "/verify_Order2",
      views: {
        'menuContent' :{
          templateUrl: "verify_Order2.html",
		  controller: 'verify_Order2Ctrl'
        }
      }
    })
	 
    .state('forgot-password', {
      url: "/forgot-password",
      templateUrl: "forgot-password.html",
      controller: 'forgot-passwordCtrl'
    })
		
	.state('login', {
      url: "/login",
      templateUrl: "login.html",
      controller: 'LoginCtrl'
    });
  // if none of the above states are matched, use this as the fallback
  $urlRouterProvider.otherwise('/login');

})


.controller('homeCtrl', function($scope,$ionicNavBarDelegate) {

})



.controller('forgot-passwordCtrl', function($scope,$state) {
    $scope.forgot = function() {
    $state.go('forgot-password');
  };
})

.factory('services',function(){
  
    var d = new Date();
    var g=d.getDay();
    var l=d.getMonth();
	var c=new Date().toJSON().slice(5,7);
    d = d.toLocaleTimeString().replace(/:\d+ /, ' ');
	var weekday = new Array(7);
	weekday[0]=  "Sunday";
	weekday[1] = "Monday";
	weekday[2] = "Tuesday";
	weekday[3] = "Wednesday";
	weekday[4] = "Thursday";
	weekday[5] = "Friday";
	weekday[6] = "Saturday";
	var month = new Array(12);
	month[0]=  "January";
	month[1] = "February";
	month[2] = "March";
	month[3] = "April";
	month[4] = "May";
	month[5] = "June";
	month[6] = "July";
	month[7] = "August";
	month[8] = "September";
	month[9] = "October";
	month[10] = "November";
	month[11] = "December";
	var n = weekday[g];
    var m=month[l];
    var service_location=[{
	
   location: 'Web Design Services',title: 'Personal', color: '$300.00', day:n,month:m,date:c ,
    start_time: 'Open: Sunday-Friday', end_time: 'Hours: 11am-10pm',id:1},
     { location: 'Web Design Services',title: 'Blog', color: '$200.00', day:n,month:m,date:c ,
    start_time: 'Open: Sunday-Friday', end_time: 'Hours: 11am-10pm',id:2},
     { location: 'Web Design Services',title: 'eCommerce', color: '$500.00', day:n,month:m,date:c ,
    start_time: 'Open: Sunday-Friday', end_time: 'Hours: 11am-10pm',id:3
	},
     { location: 'Web Design Services',title: 'Informational', color: '$150.00', day:n,month:m,date:c ,
    start_time: 'Open: Sunday-Friday', end_time: 'Hours: 11am-10pm',id:4  
    },
	{ location: 'Mobile Apps Services',title: 'Android', color: '$500.00', day:n,month:m,date:c ,
    start_time: 'Open: Sunday-Friday', end_time: 'Hours: 11am-10pm',id:5  
    },
	{ location: 'Mobile Apps Services',title: 'iPhone', color: '$500.00', day:n,month:m,date:c ,
    start_time: 'Open: Sunday-Friday', end_time: 'Hours: 11am-10pm',id:6  
    }];
   return {
    all: function() {
      return service_location;
    },
    remove: function(service) {
      service_location.splice(service_location.indexOf(service), 1);
    },

    get: function(serviceId) {
      for (var i = 0; i < service_location.length; i++) {
        if (service_location[i].id === parseInt(serviceId)) {
          return service_location[i];
        }
      }
      return null;
    }
  };
})

.controller('servicesCtrl', function($scope,$ionicScrollDelegate,services) {
  $ionicScrollDelegate.scrollBottom(true);
	 
	$scope.service_location=services.all();
	  $scope.remove=function(service){
		services.remove(service);
	  }
})

.controller('service_listCtrl', function($scope, $stateParams,services,$state) {
	  $scope.service=services.get($stateParams.serviceId);
	

	

	$scope.addstatus = function() {
	   alert("Order Successfully Started");

	 $scope.service.status='Click Here To Hire Me';
	};
	
	$scope.addstatus1 = function() {
	   alert("Successfully Contacted Bell's Branding, Inc.");

	 $scope.service.status='Contacted';
	};
	
	  $scope.addstatus2 = function() {
	   alert("service In Progress");

	 $scope.service.status='In Progress';
	 
	};
	
})

.controller('new_serviceCtrl', function($scope,$ionicNavBarDelegate,$stateParams, services,$state) {

	  $scope.service=services.get($stateParams.serviceId);

})
.controller('new_ServiceCtrl', function($scope,$ionicNavBarDelegate,$stateParams,services,$state) {	  

	  $scope.service=services.get($stateParams.serviceId);
	
	$scope.addService = function(service) {

	   alert("Service was successfully Added");
	   $state.go('home.new_service');

	};
	
})
.controller('verify_Order1Ctrl', function($scope,$ionicNavBarDelegate,$stateParams, services,$location) {
 $scope.service=services.get($stateParams.serviceId);
	

	$scope.addstatus1 = function() {
	   alert("Contacted");

	 $scope.service.status='Contacted';

	};
})
.controller('verify_Order2Ctrl', function($scope,$ionicNavBarDelegate ,$stateParams,services,$location) {

  $scope.service=services.get($stateParams.serviceId);
	

	$scope.addstatus = function() {
	   alert("Order Successfully Started");

	 $scope.service.status='Click Here To Hire Me';
	};
	  $scope.addstatus2 = function() {
	   alert("In Progress");

	 $scope.service.status='In Progress';
	 
	};
})

.controller('LoginCtrl', function($scope, $state,$ionicScrollDelegate) {
$ionicScrollDelegate.scrollBottom(false);
	$scope.LogIn = function(user) {
		$state.go('home.service_location');
	  };
	  $scope.log = {
		rememberme: true
	  };
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console