Xiangru Chen fd3071843c fix(ngSrc): don't set src if value is empty string
Current implementation of ngSrc may lead to empty src attribute when page is loading.

For example:

<img ng-src="{{image.url}}">
can be temporarily rendered as

<img src="">
before the image resource is loaded.

Some browser emits a request to the current page when seeing <img src=""> (Firefox13 and IE8 will, Chromium20 won't), which leads to performance problems.
2012-09-06 15:49:49 -07:00
2012-08-27 21:20:51 -07: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
2012-04-20 11:29:34 -07:00
2010-11-12 16:13:53 -08:00

AngularJS

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTMLs syntax to express your applications components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. To help you structure your application better and make it easy to test AngularJS teaches the browser how to do dependency injection and inversion of control. Oh yeah and it also helps with server-side communication, taming async callbacks with promises and deferreds; and make client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. The best of all: it makes development fun!

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%