Hi all,

i'm new to angularjs and have two questions.

*1. Is it possible to get an dynamic array like the following from an 
AJAX-Request via $http and map it, so angular know that it have to update?*

$scope.items = { item1: 'Item1', item2: 'Item2', item3: 'Item3' };

*2. If so, are there any other events, like ng-click, which work well in a 
bootstrap modal?*


For better understanding i will give you an example what i want to do:

- User select in a bootstrap modal an item (question 2)
- The item has an id, where i have to get these dynamic array with $http in 
question 1
- After getting this array, the array have to be shown with ng-model and 
ng-bind


Hope you understand my problem and you can give me feedback.


Thanks in advance,
Alex

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to