2010-12-24 06:21:27 +00:00
|
|
|
<!doctype html>
|
2012-08-28 13:32:59 +00:00
|
|
|
<html lang="en">
|
2010-12-24 06:21:27 +00:00
|
|
|
<head>
|
2011-03-07 08:11:30 +00:00
|
|
|
<meta charset="utf-8">
|
2012-03-14 07:48:37 +00:00
|
|
|
<title>My AngularJS App</title>
|
2013-01-06 21:44:45 +00:00
|
|
|
<script>
|
|
|
|
// include angular loader, which allows the files to load in any order
|
|
|
|
/*
|
|
|
|
AngularJS v1.0.0rc1
|
|
|
|
(c) 2010-2012 AngularJS http://angularjs.org
|
|
|
|
License: MIT
|
|
|
|
*/
|
|
|
|
'use strict';(function(i){function d(c,a,e){return c[a]||(c[a]=e())}return d(d(i,"angular",Object),"module",function(){var c={};return function(a,e,f){e&&c.hasOwnProperty(a)&&(c[a]=null);return d(c,a,function(){function b(a,b,d){return function(){c[d||"push"]([a,b,arguments]);return g}}if(!e)throw Error("No module: "+a);var c=[],d=[],h=b("$injector","invoke"),g={_invokeQueue:c,_runBlocks:d,requires:e,name:a,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),
|
|
|
|
value:b("$provide","value"),constant:b("$provide","constant","unshift"),filter:b("$filterProvider","register"),directive:b("$compileProvider","directive"),config:h,run:function(a){d.push(a);return this}};f&&h(f);return g})}})})(window);
|
|
|
|
|
|
|
|
// include a third-party async loader library
|
|
|
|
/*!
|
|
|
|
* $script.js v1.3
|
|
|
|
* https://github.com/ded/script.js
|
|
|
|
* Copyright: @ded & @fat - Dustin Diaz, Jacob Thornton 2011
|
|
|
|
* Follow our software http://twitter.com/dedfat
|
|
|
|
* License: MIT
|
|
|
|
*/
|
|
|
|
!function(a,b,c){function t(a,c){var e=b.createElement("script"),f=j;e.onload=e.onerror=e[o]=function(){e[m]&&!/^c|loade/.test(e[m])||f||(e.onload=e[o]=null,f=1,c())},e.async=1,e.src=a,d.insertBefore(e,d.firstChild)}function q(a,b){p(a,function(a){return!b(a)})}var d=b.getElementsByTagName("head")[0],e={},f={},g={},h={},i="string",j=!1,k="push",l="DOMContentLoaded",m="readyState",n="addEventListener",o="onreadystatechange",p=function(a,b){for(var c=0,d=a.length;c<d;++c)if(!b(a[c]))return j;return 1};!b[m]&&b[n]&&(b[n](l,function r(){b.removeEventListener(l,r,j),b[m]="complete"},j),b[m]="loading");var s=function(a,b,d){function o(){if(!--m){e[l]=1,j&&j();for(var a in g)p(a.split("|"),n)&&!q(g[a],n)&&(g[a]=[])}}function n(a){return a.call?a():e[a]}a=a[k]?a:[a];var i=b&&b.call,j=i?b:d,l=i?a.join(""):b,m=a.length;c(function(){q(a,function(a){h[a]?(l&&(f[l]=1),o()):(h[a]=1,l&&(f[l]=1),t(s.path?s.path+a+".js":a,o))})},0);return s};s.get=t,s.ready=function(a,b,c){a=a[k]?a:[a];var d=[];!q(a,function(a){e[a]||d[k](a)})&&p(a,function(a){return e[a]})?b():!function(a){g[a]=g[a]||[],g[a][k](b),c&&c(d)}(a.join("|"));return s};var u=a.$script;s.noConflict=function(){a.$script=u;return this},typeof module!="undefined"&&module.exports?module.exports=s:a.$script=s}(this,document,setTimeout)
|
|
|
|
|
|
|
|
// load all of the dependencies asynchronously.
|
|
|
|
$script([
|
|
|
|
'lib/angular/angular.js',
|
|
|
|
'js/app.js',
|
|
|
|
'js/services.js',
|
|
|
|
'js/controllers.js',
|
|
|
|
'js/filters.js',
|
|
|
|
'js/directives.js',
|
2013-01-22 15:01:03 +00:00
|
|
|
//'//cdnjs.cloudflare.com/ajax/libs/less.js/1.3.3/less.min.js',
|
|
|
|
//'//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js',
|
2013-03-01 17:37:49 +00:00
|
|
|
//'lib/jquery/jquery.min.js',
|
2013-01-22 15:01:03 +00:00
|
|
|
'lib/less/less.min.js',
|
2013-01-06 21:44:45 +00:00
|
|
|
], function() {
|
|
|
|
// when all is done, execute bootstrap angular application
|
|
|
|
angular.bootstrap(document, ['myApp']);
|
|
|
|
});
|
|
|
|
</script>
|
2010-12-24 06:21:27 +00:00
|
|
|
<link rel="stylesheet" href="css/app.css"/>
|
2013-01-06 20:20:31 +00:00
|
|
|
<link rel="stylesheet/less" href="less/compile.less"/>
|
2013-01-06 20:40:17 +00:00
|
|
|
<link rel="stylesheet" href="css/animate.min.css" type="text/css" />
|
2013-01-06 21:44:45 +00:00
|
|
|
<style>
|
|
|
|
[ng\:cloak], [ng-cloak], .ng-cloak {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|
2010-12-24 06:21:27 +00:00
|
|
|
</head>
|
2013-01-15 15:19:31 +00:00
|
|
|
<body>
|
|
|
|
<!--<ul class="menu">-->
|
|
|
|
<!--<li><a href="#/view1">view1</a></li>-->
|
|
|
|
<!--<li><a href="#/view2">view2</a></li>-->
|
|
|
|
<!--</ul>-->
|
2010-12-24 06:21:27 +00:00
|
|
|
|
2013-03-01 17:37:49 +00:00
|
|
|
<div class="container-fluid main ng-cloak">
|
|
|
|
<div ng-view></div>
|
|
|
|
</div>
|
|
|
|
<div class="dock animated fadeInUp ng-cloak" ng-controller="dockCtrl">
|
|
|
|
<div class="hoverText">
|
|
|
|
<h3>{{icons[selected].text}}</h3>
|
2013-01-15 15:19:31 +00:00
|
|
|
</div>
|
2013-03-01 17:37:49 +00:00
|
|
|
<a ng-click="switch($index)" ng-class="selected == $index && 'active'" ng-repeat="icon in icons" href="javascript:void(0);"><i ng-class="[icon.class, icon.icon]"></i></a>
|
2013-01-15 15:19:31 +00:00
|
|
|
</div>
|
2011-01-27 08:09:30 +00:00
|
|
|
|
2012-03-14 07:48:37 +00:00
|
|
|
<script src="lib/angular/angular.js"></script>
|
2012-08-28 13:32:59 +00:00
|
|
|
|
|
|
|
<!-- Allows for coffeescript compiling on the fly. -->
|
|
|
|
<!-- Not recommended for production use. See http://coffeescript.org/#scripts. -->
|
2013-01-06 21:44:45 +00:00
|
|
|
<!--<script src="lib/coffeescript/coffee-script.js"></script>-->
|
|
|
|
|
|
|
|
<!--<script src="coffee/services.coffee" type="text/coffeescript"></script>-->
|
|
|
|
<!--<script src="coffee/controllers.coffee" type="text/coffeescript"></script>-->
|
|
|
|
<!--<script src="coffee/filters.coffee" type="text/coffeescript"></script>-->
|
|
|
|
<!--<script src="coffee/directives.coffee" type="text/coffeescript"></script>-->
|
|
|
|
<!--<script src="coffee/app.coffee" type="text/coffeescript"></script>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/1.3.3/less.min.js" type="text/javascript" charset="utf-8"></script>-->
|
2012-08-28 13:32:59 +00:00
|
|
|
|
2010-12-24 06:21:27 +00:00
|
|
|
</body>
|
2013-01-06 20:20:31 +00:00
|
|
|
</html>
|