Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically close non matching tiles #4

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
3f2cce0
the initial version
IgorMinar Dec 24, 2010
4eb3470
updated jasmine adapter to newer version
mhevery Jan 11, 2011
12fa4ce
upgrade to angular 0.9.10 and update the code with angular API changes
IgorMinar Jan 27, 2011
fa27cd0
upgrade to angular 0.9-10
IgorMinar Feb 9, 2011
ace792c
move jsTestDriver.conf into config/ directory
IgorMinar Feb 9, 2011
2156c67
upgrading angular to 0.9.12 thought-implanter
IgorMinar Mar 3, 2011
0c13364
angular 0.9.12 $hover service fix
IgorMinar Mar 4, 2011
5f74181
angular 0.9.12 leftover .scope call fix
IgorMinar Mar 4, 2011
af23cca
default to utf8 charset
IgorMinar Mar 7, 2011
4e186e4
jstd 1.3.1+ and jasmine-jstd-adapter upgrade
IgorMinar Mar 7, 2011
570696b
improving the test-server.sh console output
IgorMinar Mar 8, 2011
f216c1f
switching scripts/test.sh from sh to bash
IgorMinar Mar 8, 2011
82dd423
updating angular to 0.9.13 curdling-stare
IgorMinar Mar 14, 2011
d671a55
upgrading angular to 0.9.14 key-maker
IgorMinar Apr 1, 2011
bd00b9a
removing display:none + ng:show from index.html
IgorMinar Apr 1, 2011
19bda8a
fix typo in controllers.js placeholder code
IgorMinar Apr 10, 2011
59c3871
upgrading to angular 0.9.15 lethal-stutter
IgorMinar Apr 11, 2011
b5d47bc
add index.html to the seed layout docs
IgorMinar Apr 18, 2011
393d5e9
Added windows .bat equivalents to .sh scripts for running tests
ifedotov May 20, 2011
187f555
improving the windows bat scripts
IgorMinar Jun 3, 2011
002f70a
update readme with windows info
IgorMinar Jun 3, 2011
289fab7
making the windows script crlf delimited
IgorMinar Jun 3, 2011
e533fc6
angular 0.9.16 weather-control
IgorMinar Jun 8, 2011
e8c28eb
Add jstd-scenario-adapter so we can run e2e tests with JsTD
vojtajina Jun 13, 2011
07951a6
Update scripts for running tests
vojtajina Jun 13, 2011
f46a6d7
Missing semi-colons
vojtajina Jun 13, 2011
64345da
upgrade to angular 0.9.17 vegetable-reanimation
IgorMinar Jun 30, 2011
0face23
upgrade to angular 0.9.18 jiggling-armfat
IgorMinar Jul 30, 2011
b0267a5
upgrade to angular 0.9.19 canine-psychokinesis
IgorMinar Aug 21, 2011
226dfaf
Fixed two small typos in scripts/web-server.js.
marcenuc Sep 2, 2011
2682dab
upgrade to AngularJS 0.10.0 chicken-hands
cburgdorf Sep 5, 2011
02e4c21
upgrade to AnuglarJS 0.10.6 bubblewrap-cape
mhevery Jan 14, 2012
e445874
upgrade to 0.10.6 final
IgorMinar Jan 17, 2012
68ed658
remove extra ng:app from async template
IgorMinar Jan 24, 2012
9806336
add inlined ng:cloak definition to the async template
IgorMinar Jan 24, 2012
a3e1e00
Update angular to 1.0.0-rc1
vojtajina Mar 14, 2012
93599ab
Update jasmine to 1.1.0
vojtajina Mar 14, 2012
5da17aa
Update seed app
vojtajina Mar 14, 2012
27468b4
Fix broken references to widgets and make template IE friendly
IgorMinar Mar 20, 2012
3d03b98
upgrade seed to 1.0.0rc2 silence-absorption
IgorMinar Mar 20, 2012
0c23b90
upgrade to 1.0.0rc3 barefoot-telepathy
IgorMinar Mar 29, 2012
8f64ca2
upgrade to angular 1.0.0rc4 insomnia-induction
IgorMinar Apr 5, 2012
0a29959
upgrade to angular 1.0.0rc5 reality-distortion
IgorMinar Apr 12, 2012
5d36813
upgrade to AngularJS 1.0.0rc6 runny-nose
IgorMinar Apr 20, 2012
11e1695
various fixes
IgorMinar Apr 30, 2012
8c7559e
update the jasmine-jstd-adapter with fixes
IgorMinar Apr 30, 2012
736aadc
Fix extraneous " in doctype tag. Changed ng:autotest to ng-autotest
Mar 26, 2012
7cd74c0
upgrade to AngularJS 1.0.0rc7 rc-generation
IgorMinar Apr 30, 2012
643d16c
upgrade to AngularJS 1.0.0rc8 blooming-touch
IgorMinar May 7, 2012
697ff54
upgrade to AngularJS 1.0.0rc eggplant-teleportation
IgorMinar May 15, 2012
559e626
fix typo in sample e2e test
IgorMinar May 15, 2012
a90b5b5
remove border
IgorMinar May 16, 2012
37499fb
prepare for component
IgorMinar May 16, 2012
53b217a
mgCard directive
IgorMinar May 16, 2012
e27efe2
upgrade to AngularJS 1.0.0rc10 tesseract-giftwrapping
IgorMinar May 24, 2012
830516a
upgrade to AngularJS 1.0.0rc11 promise-resolution
IgorMinar Jun 11, 2012
65cb691
migrate code to 1.0.0rc11
IgorMinar Jun 11, 2012
0eb162a
upgrade to AngularJS 1.0.0rc12
IgorMinar Jun 12, 2012
cead16d
upgrading AngularJS to 1.0
IgorMinar Jun 14, 2012
91cb91e
upgrade angular to 1.0.1
IgorMinar Jun 25, 2012
b811f56
upgrade to AngularJS 1.0.2
IgorMinar Sep 5, 2012
b189a59
add link to CDN to index.html
IgorMinar Sep 5, 2012
c57d3b5
switch over to using Testacular for E2E tests
IgorMinar Sep 12, 2012
2d315ac
switch over to using Testacular for running unit tests
IgorMinar Sep 12, 2012
094fdf3
improve wildcards in testacular configs
IgorMinar Sep 13, 2012
dcdc11f
pass arguments through test.sh and e2e-test.sh
IgorMinar Sep 20, 2012
8af0035
add junit reporter to testacular configs
IgorMinar Sep 20, 2012
849b63a
Update windows scripts to use Testacular
rolaveric Sep 15, 2012
8982ebc
sync README with code
segeda Jun 4, 2012
d6b8496
Added global flag to path replace function in handleRequest to allow …
jksdua Jun 5, 2012
1b02112
Update to node 0.8 : "sys" is now called "util".
DjebbZ Aug 14, 2012
e0e67e9
Update README.md file
IgorMinar Oct 18, 2012
aa3c9db
add 'svg' MIME type to web-server
alexeygolev Sep 24, 2012
5c742c3
remove obsolete test-server scripts
IgorMinar Nov 1, 2012
4b5b468
upgrade to AngularJS 1.0.3 bouncy-thunder
IgorMinar Nov 27, 2012
14b5767
add missing ng-cloak directive
mhevery Dec 6, 2012
e9f4115
upgrade to angular 1.0.4
IgorMinar Jan 23, 2013
07ffa8c
update angular to 1.0.5
IgorMinar Feb 20, 2013
0ba25b3
Added link to clickstart
michaelneale Feb 26, 2013
a59cad6
Merge pull request #52 from michaelneale/master
IgorMinar Feb 27, 2013
fad6065
upgrade to angular 1.0.6 universal-irreversibility
IgorMinar Apr 4, 2013
3ccaf3a
upgrade to angular 1.0.6
IgorMinar Apr 8, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.idea
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
**/.DS_Store
nbproject
manifest.mf
build.xml

.project
.settings
.idea/*
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Memory-Game
===========

AngularJS example app that implements the famous memory game of finding matching pairs of cards. Popular with toddlers everywhere!
AngularJS example app that implements the famous memory game of finding matching pairs of cards. Popular with toddlers everywhere!


View demo at: <http://igorminar.github.io/Memory-Game/app/index.html>
1 change: 0 additions & 1 deletion app/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ div {
width: 165px;
height: 200px;
position: relative;
border: 1px solid #CCC;
-webkit-perspective: 800px;
-moz-perspective: 800px;
-ms-perspective: 800px;
Expand Down
57 changes: 57 additions & 0 deletions app/index-async.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
[ng-cloak] {
display: none;
}
</style>
<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'
], function() {
// when all is done, execute bootstrap angular application
angular.bootstrap(document, ['myApp']);
});
</script>
<title>My AngularJS App</title>
<link rel="stylesheet" href="css/app.css">
</head>
<body ng-cloak>
<ul class="menu">
<li><a href="#/view1">view1</a></li>
<li><a href="#/view2">view2</a></li>
</ul>

<div ng-view></div>

<div>Angular seed app: v<span app-version></span></div>

</body>
</html>
15 changes: 11 additions & 4 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@

<table>
<tr ng-repeat="row in game.grid">
<td ng-repeat="tile in row" class="container">
<div class="card" ng-class="{flipped: tile.flipped}" ng-click="game.flipTile(tile)">
<img class="front" ng-src="img/back.png">
<img class="back" ng-src="img/{{tile.title}}.png">
<td ng-repeat="tile in row" ng-click="game.flipTile(tile)">

<!-- this entire block can be replaced with our custom component mgCard:
<mg-card tile="tile"></mg-card>
-->
<div class="container">
<div class="card" ng-class="{flipped: tile.flipped}">
<img class="front" ng-src="img/back.png">
<img class="back" ng-src="img/{{tile.title}}.png">
</div>
</div>

</td>
</tr>
</table>
Expand Down
24 changes: 24 additions & 0 deletions app/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,27 @@ memoryGameApp.factory('game', function() {
memoryGameApp.controller('GameCtrl', function GameCtrl($scope, game) {
$scope.game = game;
});


//usages:
//- in the repeater as: <mg-card tile="tile"></mg-card>
//- card currently being matched as: <mg-card tile="game.firstPick"></mg-card>

memoryGameApp.directive('mgCard', function() {
return {
restrict: 'E',
// instead of inlining the template string here, one could use templateUrl: 'mg-card.html'
// and then either create a mg-card.html file with the content or add
// <script type="text/ng-template" id="mg-card.html">.. template here.. </script> element to
// index.html
template: '<div class="container">' +
'<div class="card" ng-class="{flipped: tile.flipped}">' +
'<img class="front" ng-src="img/back.png">' +
'<img class="back" ng-src="img/{{tile.title}}.png">' +
'</div>' +
'</div>',
scope: {
tile: '='
}
}
});
37 changes: 25 additions & 12 deletions app/lib/angular/angular-cookies.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/**
* @license AngularJS v1.0.0rc6
* @license AngularJS v1.0.6
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(angular) {
(function(window, angular, undefined) {
'use strict';

/**
* @ngdoc overview
* @name angular.module.ngCookies
* @name ngCookies
*/


angular.module('ngCookies', ['ng']).
/**
* @ngdoc object
* @name angular.module.ngCookies.$cookies
* @name ngCookies.$cookies
* @requires $browser
*
* @description
Expand All @@ -25,6 +25,18 @@ angular.module('ngCookies', ['ng']).
* this object, new cookies are created/deleted at the end of current $eval.
*
* @example
<doc:example>
<doc:source>
<script>
function ExampleController($cookies) {
// Retrieving a cookie
var favoriteCookie = $cookies.myFavorite;
// Setting a cookie
$cookies.myFavorite = 'oatmeal';
}
</script>
</doc:source>
</doc:example>
*/
factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) {
var cookies = {},
Expand Down Expand Up @@ -109,7 +121,7 @@ angular.module('ngCookies', ['ng']).

/**
* @ngdoc object
* @name angular.module.ngCookies.$cookieStore
* @name ngCookies.$cookieStore
* @requires $cookies
*
* @description
Expand All @@ -123,8 +135,8 @@ angular.module('ngCookies', ['ng']).
return {
/**
* @ngdoc method
* @name angular.module.ngCookies.$cookieStore#get
* @methodOf angular.module.ngCookies.$cookieStore
* @name ngCookies.$cookieStore#get
* @methodOf ngCookies.$cookieStore
*
* @description
* Returns the value of given cookie key
Expand All @@ -138,8 +150,8 @@ angular.module('ngCookies', ['ng']).

/**
* @ngdoc method
* @name angular.module.ngCookies.$cookieStore#put
* @methodOf angular.module.ngCookies.$cookieStore
* @name ngCookies.$cookieStore#put
* @methodOf ngCookies.$cookieStore
*
* @description
* Sets a value for given cookie key
Expand All @@ -153,8 +165,8 @@ angular.module('ngCookies', ['ng']).

/**
* @ngdoc method
* @name angular.module.ngCookies.$cookieStore#remove
* @methodOf angular.module.ngCookies.$cookieStore
* @name ngCookies.$cookieStore#remove
* @methodOf ngCookies.$cookieStore
*
* @description
* Remove given cookie
Expand All @@ -168,4 +180,5 @@ angular.module('ngCookies', ['ng']).

}]);

})(window.angular);

})(window, window.angular);
6 changes: 3 additions & 3 deletions app/lib/angular/angular-cookies.min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AngularJS v1.0.0rc6
AngularJS v1.0.6
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
*/
(function(f){'use strict';f.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(d,c){var b={},g={},h,i=!1,j=f.copy,k=f.isUndefined;c.addPollFn(function(){var a=c.cookies();h!=a&&(h=a,j(a,g),j(a,b),i&&d.$apply())})();i=!0;d.$watch(function(){var a,e,d;for(a in g)k(b[a])&&c.cookies(a,void 0);for(a in b)e=b[a],f.isString(e)?e!==g[a]&&(c.cookies(a,e),d=!0):f.isDefined(g[a])?b[a]=g[a]:delete b[a];if(d)for(a in e=c.cookies(),b)b[a]!==e[a]&&(k(e[a])?delete b[a]:b[a]=e[a])});return b}]).factory("$cookieStore",
["$cookies",function(d){return{get:function(c){return f.fromJson(d[c])},put:function(c,b){d[c]=f.toJson(b)},remove:function(c){delete d[c]}}}])})(window.angular);
(function(m,f,l){'use strict';f.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(d,c){var b={},g={},h,i=!1,j=f.copy,k=f.isUndefined;c.addPollFn(function(){var a=c.cookies();h!=a&&(h=a,j(a,g),j(a,b),i&&d.$apply())})();i=!0;d.$watch(function(){var a,e,d;for(a in g)k(b[a])&&c.cookies(a,l);for(a in b)e=b[a],f.isString(e)?e!==g[a]&&(c.cookies(a,e),d=!0):f.isDefined(g[a])?b[a]=g[a]:delete b[a];if(d)for(a in e=c.cookies(),b)b[a]!==e[a]&&(k(e[a])?delete b[a]:b[a]=e[a])});return b}]).factory("$cookieStore",
["$cookies",function(d){return{get:function(c){return f.fromJson(d[c])},put:function(c,b){d[c]=f.toJson(b)},remove:function(c){delete d[c]}}}])})(window,window.angular);
31 changes: 16 additions & 15 deletions app/lib/angular/angular-loader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license AngularJS v1.0.0rc6
* @license AngularJS v1.0.6
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
Expand Down Expand Up @@ -36,8 +36,8 @@ function setupModuleLoader(window) {
*
* # Module
*
* A module is a collocation of services, directives, filters, and configure information. Module
* is used to configure the {@link angular.module.AUTO.$injector $injector}.
* A module is a collocation of services, directives, filters, and configuration information. Module
* is used to configure the {@link AUTO.$injector $injector}.
*
* <pre>
* // Create a new module
Expand All @@ -61,13 +61,13 @@ function setupModuleLoader(window) {
* </pre>
*
* However it's more likely that you'll just use
* {@link angular.module.ng.$compileProvider.directive.ngApp ngApp} or
* {@link ng.directive:ngApp ngApp} or
* {@link angular.bootstrap} to simplify this process for you.
*
* @param {!string} name The name of the module to create or retrieve.
* @param {Array.<string>=} requires If specified then new module is being created. If unspecified then the
* the module is being retrieved for further configuration.
* @param {Function} configFn Option configuration function for the module. Same as
* @param {Function} configFn Optional configuration function for the module. Same as
* {@link angular.Module#config Module#config()}.
* @returns {module} new module with the {@link angular.Module} api.
*/
Expand Down Expand Up @@ -121,7 +121,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {Function} providerType Construction function for creating new instance of the service.
* @description
* See {@link angular.module.AUTO.$provide#provider $provide.provider()}.
* See {@link AUTO.$provide#provider $provide.provider()}.
*/
provider: invokeLater('$provide', 'provider'),

Expand All @@ -132,7 +132,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {Function} providerFunction Function for creating new instance of the service.
* @description
* See {@link angular.module.AUTO.$provide#factory $provide.factory()}.
* See {@link AUTO.$provide#factory $provide.factory()}.
*/
factory: invokeLater('$provide', 'factory'),

Expand All @@ -143,7 +143,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {Function} constructor A constructor function that will be instantiated.
* @description
* See {@link angular.module.AUTO.$provide#service $provide.service()}.
* See {@link AUTO.$provide#service $provide.service()}.
*/
service: invokeLater('$provide', 'service'),

Expand All @@ -154,7 +154,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {*} object Service instance object.
* @description
* See {@link angular.module.AUTO.$provide#value $provide.value()}.
* See {@link AUTO.$provide#value $provide.value()}.
*/
value: invokeLater('$provide', 'value'),

Expand All @@ -166,7 +166,7 @@ function setupModuleLoader(window) {
* @param {*} object Constant value.
* @description
* Because the constant are fixed, they get applied before other provide methods.
* See {@link angular.module.AUTO.$provide#constant $provide.constant()}.
* See {@link AUTO.$provide#constant $provide.constant()}.
*/
constant: invokeLater('$provide', 'constant', 'unshift'),

Expand All @@ -177,7 +177,7 @@ function setupModuleLoader(window) {
* @param {string} name Filter name.
* @param {Function} filterFactory Factory function for creating new instance of filter.
* @description
* See {@link angular.module.ng.$filterProvider#register $filterProvider.register()}.
* See {@link ng.$filterProvider#register $filterProvider.register()}.
*/
filter: invokeLater('$filterProvider', 'register'),

Expand All @@ -188,7 +188,7 @@ function setupModuleLoader(window) {
* @param {string} name Controller name.
* @param {Function} constructor Controller constructor function.
* @description
* See {@link angular.module.ng.$controllerProvider#register $controllerProvider.register()}.
* See {@link ng.$controllerProvider#register $controllerProvider.register()}.
*/
controller: invokeLater('$controllerProvider', 'register'),

Expand All @@ -200,7 +200,7 @@ function setupModuleLoader(window) {
* @param {Function} directiveFactory Factory function for creating new instance of
* directives.
* @description
* See {@link angular.module.ng.$compileProvider.directive $compileProvider.directive()}.
* See {@link ng.$compileProvider#directive $compileProvider.directive()}.
*/
directive: invokeLater('$compileProvider', 'directive'),

Expand All @@ -222,8 +222,8 @@ function setupModuleLoader(window) {
* @param {Function} initializationFn Execute this function after injector creation.
* Useful for application initialization.
* @description
* Use this method to register work which needs to be performed when the injector with
* with the current module is finished loading.
* Use this method to register work which should be performed when the injector is done
* loading all modules.
*/
run: function(block) {
runBlocks.push(block);
Expand Down Expand Up @@ -254,6 +254,7 @@ function setupModuleLoader(window) {
});

}

)(window);

/**
Expand Down
2 changes: 1 addition & 1 deletion app/lib/angular/angular-loader.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
AngularJS v1.0.0rc6
AngularJS v1.0.6
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
*/
Expand Down
Loading