2015-03-25から1日間の記事一覧

AngularJS で意図的に更新する

app.controller("MainCtrl", function ($scope) { uri = '...'; $.get(uri, function(data){ $scope.result = data.responseText; }); }); 上記のようなコード書いていたのだけれど、これだと {{ result }} が更新されなかった。 ($http 使えというのは置い…