Switch to $scope instead this in controllers