Integrate controllerAs instead of $scope approach.