Angular $scope variable not updating

后端 未结 6 1487
一整个雨季
一整个雨季 2021-01-02 04:19

In my angular, I define a scope variable $scope.letter_content. When the view is loaded, I load string from my database and set it to $scope.letter_conten

6条回答
  •  春和景丽
    2021-01-02 04:44

    Try this -

     $scope.object = {letter_content:null};
    
      {{object .letter_content}}
        
    {{letter_content}}

提交回复
热议问题