AngularJSの2つの結合がdivで機能していません。私はdivを編集可能にしたいが、それは起こっていない。誰かが何が間違っている可能性を示唆してもらえますか?同じバインディングがテキストボックスで正常に機能します。これは私のコードです:ng-modelの結合がdivで機能しない
<input type="text" ng-model="userProfile.firstName"/>
<div class="profile-name" contenteditable="true" ng-model="userProfile.firstName"></div>
divを編集可能にするには?あなたはもっと具体的になりますか? –