@@ -87,9 +87,9 @@ angular.module('material.components.select', [
87
87
* </hljs>
88
88
*
89
89
* At first one might expect that the select should be populated with "Bob" as the selected user. However,
90
- * this is not true. To determine whether something is selected,
90
+ * this is not true. To determine whether something is selected,
91
91
* `ngModelController` is looking at whether `$scope.selectedUser == (any user in $scope.users);`;
92
- *
92
+ *
93
93
* Javascript's `==` operator does not check for deep equality (ie. that all properties
94
94
* on the object are the same), but instead whether the objects are *the same object in memory*.
95
95
* In this case, we have two instances of identical objects, but they exist in memory as unique
@@ -98,7 +98,7 @@ angular.module('material.components.select', [
98
98
* To get around this, `ngModelController` provides a `track by` option that allows us to specify a different
99
99
* expression which will be used for the equality operator. As such, we can update our `html` to
100
100
* make use of this by specifying the `ng-model-options="{trackBy: '$value.id'}"` on the `md-select`
101
- * element. This converts our equality expression to be
101
+ * element. This converts our equality expression to be
102
102
* `$scope.selectedUser.id == (any id in $scope.users.map(function(u) { return u.id; }));`
103
103
* which results in Bob being selected as desired.
104
104
*
@@ -144,7 +144,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdTheming, $mdAria, $compile, $par
144
144
. find ( 'md-content' )
145
145
. prepend ( angular . element (
146
146
'<div>' +
147
- ' <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone"></md-progress-circular>' +
147
+ ' <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone" md-diameter="25px" ></md-progress-circular>' +
148
148
'</div>'
149
149
) ) ;
150
150
@@ -284,7 +284,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdTheming, $mdAria, $compile, $par
284
284
}
285
285
} ) ;
286
286
287
- // Wait until postDigest so that we attach after ngModel's
287
+ // Wait until postDigest so that we attach after ngModel's
288
288
// blur listener so we can set untouched.
289
289
$mdUtil . nextTick ( function ( ) {
290
290
element . on ( 'blur' , function ( ) {
0 commit comments