Skip to content

Commit 4459d38

Browse files
committed
fix(select): allow ngOptions to be set in $timeout
Fix angular 1.3 regression where empty string was shown Closes angular#9714
1 parent c03d6b0 commit 4459d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/directive/selectSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ describe('select', function() {
242242
scope.simpleModel = 0;
243243
});
244244

245-
$timeout(function () {
245+
$timeout(function() {
246246
scope.simpleOpts = [
247247
{id: 0, label: 'x'},
248248
{id: 1, label: 'y'}

0 commit comments

Comments
 (0)