Vojta Jina 9486590e1b refactor(ng:view) Make $route scope agnostic, add $contentLoaded event
Problems:

- controller was instantiated immediately on $afterRouteChange (even if no content), that's
different compare to ng:controller, which instantiates controllers after compiling
- route listened on current scope ($afterRouteChange), so if you were listening on $rootScope
($afterRouteChange), you get called first and current.scope === undefined, which is flaky
- route handles scope destroying, but scope is created by ng:view
- route fires after/before route change even if there is no route (when no otherwise specified)

Solution:

- route has no idea about scope, whole scope business moved to ng:view (creating/destroying)
- scope is created (and controller instantiated) AFTER compiling the content
- that means on $afterRouteChange - there is no scope yet (current.scope === undefined)
- added $contentLoaded event fired by ng:view, after linking the content
2012-02-28 17:46:58 -08:00
2012-01-10 22:27:00 -08:00
2012-01-17 09:49:38 -08:00
2012-01-25 11:46:34 -08:00
2010-10-29 10:47:06 -07:00
2012-01-10 22:27:00 -08:00
2010-10-29 10:47:06 -07:00
2011-10-11 10:53:07 -07:00
2010-07-09 14:45:29 -07:00
2010-01-05 16:57:36 -08:00
2012-02-21 22:45:58 -08:00
2010-11-12 16:13:53 -08:00

AngularJS

Compiling

rake compile

Running Tests

./server.sh                          # start the server
open http://localhost:9876/capture   # capture browser
./test.sh                            # run all unit tests
Description
No description provided
Readme MIT 63 MiB
Languages
JavaScript 98.8%
HTML 0.6%
Shell 0.4%
PHP 0.1%