@@ -88,9 +88,9 @@ <h3>Code</h3>
8888// JavaScript
8989$scope.example2model = [];
9090$scope.example2data = [
91- {id: 1, label: "David"},
92- {id: 2, label: "Jhon"},
93- {id: 3, label: "Danny"}];
91+ {id: 1, label: "David"},
92+ {id: 2, label: "Jhon"},
93+ {id: 3, label: "Danny"}];
9494$scope.example2settings = {displayProp: 'id'};</ div >
9595 </ div >
9696 </ div >
@@ -135,10 +135,10 @@ <h3>Code</h3>
135135// JavaScript
136136$scope.example3model = [];
137137$scope.example3data = [
138- {id: 1, label: "David"},
139- {id: 2, label: "Jhon"},
140- {id: 3, label: "Danny"},
141- {id: 4, label: "Danny"}];
138+ {id: 1, label: "David"},
139+ {id: 2, label: "Jhon"},
140+ {id: 3, label: "Danny"},
141+ {id: 4, label: "Danny"}];
142142$scope.example3settings = {displayProp: 'label', idProp: 'label'};</ div >
143143 </ div >
144144 </ div >
@@ -180,9 +180,9 @@ <h3>Code</h3>
180180// JavaScript
181181$scope.example4model = [];
182182$scope.example4data = [
183- {id: 1, label: "David"},
184- {id: 2, label: "Jhon"},
185- {id: 3, label: "Danny"}];
183+ {id: 1, label: "David"},
184+ {id: 2, label: "Jhon"},
185+ {id: 3, label: "Danny"}];
186186$scope.example4settings = {displayProp: 'label', idProp: 'id', externalIdProp: 'myCustomPropertyForTheObject'};</ div >
187187 </ div >
188188 </ div >
@@ -222,9 +222,9 @@ <h3>Code</h3>
222222// JavaScript
223223$scope.example5model = [];
224224$scope.example5data = [
225- {id: 1, label: "David"},
226- {id: 2, label: "Jhon"},
227- {id: 3, label: "Danny"}];
225+ {id: 1, label: "David"},
226+ {id: 2, label: "Jhon"},
227+ {id: 3, label: "Danny"}];
228228$scope.example5settings = {defaultText: 'Select Users'};</ div >
229229 </ div >
230230 </ div >
@@ -265,9 +265,9 @@ <h3>Code</h3>
265265// JavaScript
266266$scope.example6model = [{id: 1}, {id: 3}];
267267$scope.example6data = [
268- {id: 1, label: "David"},
269- {id: 2, label: "Jhon"},
270- {id: 3, label: "Danny"}];
268+ {id: 1, label: "David"},
269+ {id: 2, label: "Jhon"},
270+ {id: 3, label: "Danny"}];
271271$scope.example6settings = {};</ div >
272272 </ div >
273273 </ div >
@@ -310,9 +310,9 @@ <h3>Code</h3>
310310// JavaScript
311311$scope.example7model = [];
312312$scope.example7data = [
313- {id: 1, label: "David"},
314- {id: 2, label: "Jhon"},
315- {id: 3, label: "Danny"}];
313+ {id: 1, label: "David"},
314+ {id: 2, label: "Jhon"},
315+ {id: 3, label: "Danny"}];
316316$scope.example7settings = {externalIdProp: ''};</ div >
317317 </ div >
318318 </ div >
0 commit comments