次のように $routeProvider でコントローラーを呼び出します。
$routeProvider
.when('/home', {
templateUrl: "partials/main.html",
controller: "AppCtrl"
});
$scopeそのため、コントローラー内ののフォーカスは、 のコンテンツのみを変更しpartials/main.htmlます。index.html で
変更する必要がありますが、コントローラーで変更しても変更されず、main.html にある場合にのみ変更されます。
どうすればこれを機能させることができますか?
どうもありがとうございました。{{status}}$scope.status = 'ready';