angular/angular.js — pull request #593 by TEHEK (2011-10-13 23:54:45+00:00)
Title: fix(ng:options): compile null/blank option tag

The latest version was throwing some cryptic
```cannot access childNodes property of undefined```
when using template in select's blank option.

This one required going really deep down to compiler. Turns out that when `Template` instance is created, it saves `paths` to (indexes of) child nodes which are to be compiled, then executes _linker functions_ on given _element_ and then proceeds to it's childNodes.

When had `ng:options`, it removed all from causing `Template` go try linking with unexistent element's childNode.

* added guard check for compiler
* refactored `src/widget/select.js` to compile blank option (I tried several options, but this one seems the most natural)
* added some tests

Fixes #562