How to access parent property using Controller As notation?

Posted by Andre Scott | Updated on

Want to access parent property using Controller As notation? Since your using the “controller as” notation, witin your ChildCtrl you can access the MainCtrl using $scope.main, for example $scope.main.name.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers