use $scope instead of this for controller