wahengjavascript

2015年12月16日 星期三

The view is not updated when the model updates in AngularJS



http://nathanleclaire.com/blog/2014/01/31/banging-your-head-against-an-angularjs-issue-try-this/

            $scope.building.name = $scope.buildingIndel.text[0].init;
            $scope.building.id = building.id;

$scope.$apply();
張貼者: Peter 於 晚上7:02
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

Peter
檢視我的完整簡介

網誌存檔

  • ►  2016 (60)
    • ►  10月 (2)
    • ►  9月 (2)
    • ►  8月 (12)
    • ►  7月 (8)
    • ►  6月 (3)
    • ►  5月 (3)
    • ►  4月 (6)
    • ►  3月 (10)
    • ►  2月 (11)
    • ►  1月 (3)
  • ▼  2015 (80)
    • ▼  12月 (6)
      • heroku deploy
      • query relation parse , leancloud
      • The view is not updated when the model updates in ...
      • angularjs controller directive callback parameter
      • ERROR: (gcloud.preview.app.deploy) unrecognized ar...
      • $http.post(uploadUrl, fd, { }) .success(function...
    • ►  11月 (12)
    • ►  10月 (6)
    • ►  9月 (9)
    • ►  8月 (15)
    • ►  6月 (10)
    • ►  5月 (2)
    • ►  4月 (5)
    • ►  3月 (10)
    • ►  2月 (5)
簡單主題. 技術提供:Blogger.