"use strict";var app=angular.module("app",["ui.router","ui.bootstrap","ngSanitize","templatescache","ngAnimate"]);angular.module("app").run(["$rootScope","$state","$stateParams",function(e,a,t){e.$state=a,e.$stateParams=t}]).config(["$stateProvider","$urlRouterProvider",function(e,a){a.otherwise("/tabview/iPhone"),e.state("tabview",{controller:"TabController",url:"/tabview",templateUrl:"templates/tabview.html"}).state("tabview.iPhone",{controller:"CarouselController",url:"/iPhone",templateUrl:"templates/guideview.html",data:{imgDir:"../img/iPhone/",count:7}}).state("tabview.android",{controller:"CarouselController",url:"/android",templateUrl:"templates/guideview.html",data:{imgDir:"../img/android/",count:9}}).state("happynewyear",{controller:"TabController",url:"/happynewyear",templateUrl:"templates/happynewyear.html",data:{}})}]),angular.module("templatescache",[]).run(["$templateCache",function(e){e.put("templates/guideview.html",'
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
'),e.put("templates/happynewyear.html",'
\r\n
\r\n \r\n
\r\n
'),e.put("templates/pageTab.html",''),e.put("templates/tabview.html",'
\r\n
\r\n
\r\n 苹果版\r\n 安卓版\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
')}]),angular.module("app").controller("CarouselController",["$scope","$state",function(e,a){e.myInterval=5e3,e.noWrapSlides=!1,e.active=0,e.slides=[];var t=0;e.addSlide=function(){var i=e.slides.length+1;e.slides.push({image:a.current.data.imgDir+i+".jpg",id:t++})};for(var i=1;i