Let me preface this with, I do not know Java (I'm a C# guy) and I was put 
onto a project that uses Angular.js.

I'm trying to add (copy actually) some simple functionality: 
- display a drop down list
- select an item and save it
- when an item has been saved, allow the user to "edit" it by selecting a 
different one.

I pre-populated the database with a record so that I could make sure I had 
one to do a read. I'm able to display the saved item, edit it and select a 
different one.

When I try to allow the user to add a new record, the drop down list causes 
the page to blow up. If I comment out the code the page works. If I 
uncomment the code, it dies.

Can someone take a look at this and see if there is something obvious in 
the commented out code that I'm doing wrong or maybe point me in the right 
direction?


<tr data-ng-show="addModeApplication">
<td class="col-sm-1">
<!--
<select class="form-control" 
 data-ng-model="newApplicationMap.ApplicationID" 
data-ng-options="c.applicationID as c.applicationName for c in 
ListofApplicationNames" placeholder="{{ 'appCatalog-Applicationname'' | 
translate }}" tooltip="{{ 'appCatalog-Applicationname'' | translate }}">

<option value="">{{ 'appcatalog-SelectApplicationName' | translate 
}}</option>

</select> 
-->                                        
</td>
<td class="col-sm-1">
<a class="fa fa-save" data-ng-click="addApplicationMap()" 
href="javascript:;" tooltip="{{'Save' | translate }}"></a> | <a class="fa 
fa-times" data-ng-click="toggleApplicationAdd()" href="javascript:;" 
tooltip="{{'Cancel' | translate }}"></a>
</td>
</tr>



Thanks,

Carlo.


-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to