Hey!
This is cool!
but i am having really a lot of trouble with setting dynamic options( which i get in the response of http request)
i have something like this$scope.options = [{name:'First Option}]
and when i receive the http response im pushing each item to that scope.
something like this:
function(response) {
response.array.each(function(){
var a = {
name: $(this).name
}
$scope.options.push(a)
});
i am consol logging the each push and it works fine, however the view doesnt update.
i also tried to use $watch and $watchCollection on scope variable but that aint helped too
Please reply if u have an idea what do to ?