Adds three $scope variables