javascript - Failing to understand data binding in angularjs -


i have jsbin setup here http://jsbin.com/esofiq/1/edit i'm getting confused way think angularjs should work, have json data attached data attribute, angularjs fetches data , creates view. doesn't calling $scope.mydata within controller set 'mydata' model, , shouldn't update view if data within data attribute changed?

is easier achieve in other frameworks if isn't appropriate angular?

i think these 2 give idea:

how angular uses data

how make ajax calls


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -